提交 a3ba60fd 编写于 作者: A Aaron Patterson

reduce method calls

上级 fa2a5ae0
...@@ -108,7 +108,7 @@ def construct_create_scope ...@@ -108,7 +108,7 @@ def construct_create_scope
end end
def we_can_set_the_inverse_on_this?(record) def we_can_set_the_inverse_on_this?(record)
!@reflection.inverse_of.nil? @reflection.inverse_of
end end
end end
end end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册