提交 e7461500 编写于 作者: P Peter Jaros

Fix typo: `has_many :pets`, not `pets :has_many`.

上级 80e90b0b
......@@ -281,7 +281,7 @@ def create!(attributes = {}, &block)
# so method calls may be chained.
#
# class Person < ActiveRecord::Base
# pets :has_many
# has_many :pets
# end
#
# person.pets.size # => 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册