Flowdock
method

valid_inverse_reflection?

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: ActiveRecord::Reflection::AssociationReflection
valid_inverse_reflection?(reflection) private

Checks if the inverse reflection that is returned from the automatic_inverse_of method is a valid reflection. We must make sure that the reflection’s active_record name matches up with the current reflection’s klass name.

Show source
Register or log in to add new notes.