method
find_target
v2.1.0 -
Show latest stable
- Class:
ActiveRecord::Associations::BelongsToAssociation
find_target()private
No documentation available.
# 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