method
we_can_set_the_inverse_on_this?
rails latest stable - Class:
ActiveRecord::Associations::HasManyAssociation
we_can_set_the_inverse_on_this?(record)protected
No documentation available.
# File activerecord/lib/active_record/associations/has_many_association.rb, line 122
def we_can_set_the_inverse_on_this?(record)
inverse = @reflection.inverse_of
return !inverse.nil?
end