method

find_reflection

Importance_0
v4.2.9 - 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 217
      def find_reflection(klass, name)
        klass._reflect_on_association(name) or
          raise ConfigurationError, "Association named '#{ name }' was not found on #{ klass.name }; perhaps you misspelled it?"
      end
Register or log in to add new notes.