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
|
@ -20,6 +20,8 @@ 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:
|
||||
|
||||
|
@ -30,9 +32,7 @@ which might look like this:
|
|||
);
|
||||
|
||||
This would also define the following accessors: `Product#name` and
|
||||
`Product#name=(new_name)`
|
||||
|
||||
{Learn more}[link:classes/ActiveRecord/Base.html]
|
||||
`Product#name=(new_name)`.
|
||||
|
||||
|
||||
* Associations between objects defined by simple class methods.
|
||||
|
|
Loading…
Reference in a new issue