method

find_target

Importance_0
v2.2.1 - Show latest stable - 0 notes - Class: ActiveRecord::Associations::BelongsToAssociation
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/belongs_to_association.rb, line 43
        def find_target
          @reflection.klass.find(
            @owner[@reflection.primary_key_name],
            :select     => @reflection.options[:select],
            :conditions => conditions,
            :include    => @reflection.options[:include],
            :readonly   => @reflection.options[:readonly]
          )
        end
Register or log in to add new notes.