提交 df36a3b3 编写于 作者: Z Zachary Scott

上级 9d5bc3c2
......@@ -19,9 +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:
......@@ -33,7 +33,7 @@ which might look like this:
This would also define the following accessors: `Product#name` and
`Product#name=(new_name)`.
* Associations between objects defined by simple class methods.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册