method
find_target
v2.1.0 -
Show latest stable
- Class:
ActiveRecord::Associations::HasOneAssociation
find_target()private
No documentation available.
# File activerecord/lib/active_record/associations/has_one_association.rb, line 52
def find_target
@reflection.klass.find(:first,
:conditions => @finder_sql,
:select => @reflection.options[:select],
:order => @reflection.options[:order],
:include => @reflection.options[:include],
:readonly => @reflection.options[:readonly]
)
end