method

find_reflection

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: JoinDependency
find_reflection(klass, name) 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/join_dependency.rb, line 219
        def find_reflection(klass, name)
          klass._reflect_on_association(name) ||
            raise(ConfigurationError, "Can't join '#{klass.name}' to association named '#{name}'; perhaps you misspelled it?")
        end
Register or log in to add new notes.