method

find_target

rails latest stable - Class: ActiveRecord::Associations::HasOneThroughAssociation

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.

find_target()
private

No documentation available.

# File activerecord/lib/active_record/associations/has_one_through_association.rb, line 35
      def find_target
        with_scope(construct_scope) { @reflection.klass.find(:first) }
      end