reduce method calls
This commit is contained in:
parent
fa2a5ae033
commit
a3ba60fd81
@ -108,7 +108,7 @@ def construct_create_scope
|
||||
end
|
||||
|
||||
def we_can_set_the_inverse_on_this?(record)
|
||||
!@reflection.inverse_of.nil?
|
||||
@reflection.inverse_of
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user