提交 ffb22bd2 编写于 作者: J Jeremy Roman 提交者: Rizwan Reza

fix habtm documentation to correct typo

Signed-off-by: NRizwan Reza <rizwanreza@gmail.com>
上级 cbdb4aa2
...@@ -1210,7 +1210,7 @@ def belongs_to(association_id, options = {}) ...@@ -1210,7 +1210,7 @@ def belongs_to(association_id, options = {})
# * <tt>Developer#projects.empty?</tt> # * <tt>Developer#projects.empty?</tt>
# * <tt>Developer#projects.size</tt> # * <tt>Developer#projects.size</tt>
# * <tt>Developer#projects.find(id)</tt> # * <tt>Developer#projects.find(id)</tt>
# * <tt>Developer#clients.exists?(...)</tt> # * <tt>Developer#projects.exists?(...)</tt>
# * <tt>Developer#projects.build</tt> (similar to <tt>Project.new("project_id" => id)</tt>) # * <tt>Developer#projects.build</tt> (similar to <tt>Project.new("project_id" => id)</tt>)
# * <tt>Developer#projects.create</tt> (similar to <tt>c = Project.new("project_id" => id); c.save; c</tt>) # * <tt>Developer#projects.create</tt> (similar to <tt>c = Project.new("project_id" => id); c.save; c</tt>)
# The declaration may include an options hash to specialize the behavior of the association. # The declaration may include an options hash to specialize the behavior of the association.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册