mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fix formatting errors [ci skip]
This commit is contained in:
parent
cb6622f455
commit
a923375e79
1 changed files with 6 additions and 6 deletions
|
@ -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 a new issue