method

find_target

Importance_0
find_target() 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/singular_association.rb, line 40
        def find_target
          if disable_joins
            scope.first
          else
            super.first
          end
        end
Register or log in to add new notes.