method

inversable?

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: Association
inversable?(record) private

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/association.rb, line 359
        def inversable?(record)
          record &&
            ((!record.persisted? || !owner.persisted?) || matches_foreign_key?(record))
        end
Register or log in to add new notes.