method

we_can_set_the_inverse_on_this?

Importance_0
v3.0.0 - Show latest stable - 0 notes - Class: ActiveRecord::Associations::HasManyAssociation
we_can_set_the_inverse_on_this?(record) protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.