mirror of https://github.com/rails/rails
fix formatting errors [ci skip]
This commit is contained in:
parent
cb6622f455
commit
a923375e79
|
@ -19,7 +19,9 @@ A short rundown of some of the major features:
|
|||
|
||||
class Product < ActiveRecord::Base
|
||||
end
|
||||
|
||||
|
||||
{Learn more}[link:classes/ActiveRecord/Base.html]
|
||||
|
||||
The Product class is automatically mapped to the table named "products",
|
||||
which might look like this:
|
||||
|
||||
|
@ -29,11 +31,9 @@ which might look like this:
|
|||
PRIMARY KEY (id)
|
||||
);
|
||||
|
||||
This would also define the following accessors: `Product#name` and
|
||||
`Product#name=(new_name)`
|
||||
|
||||
{Learn more}[link:classes/ActiveRecord/Base.html]
|
||||
|
||||
This would also define the following accessors: `Product#name` and
|
||||
`Product#name=(new_name)`.
|
||||
|
||||
|
||||
* Associations between objects defined by simple class methods.
|
||||
|
||||
|
|
Loading…
Reference in New Issue