1
0
Fork 0
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:
Vijay Dev 2014-05-09 00:04:12 +05:30
parent cb6622f455
commit a923375e79

View file

@ -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.