method
    
    find_target
 
  find_target()
  private
  
    Hide source    
    
      
  
# File activerecord/lib/active_record/associations/has_one_association.rb, line 80 def find_target the_target = @reflection.klass.find(:first, :conditions => @finder_sql, :select => @reflection.options[:select], :order => @reflection.options[:order], :include => @reflection.options[:include], :readonly => @reflection.options[:readonly] ) set_inverse_instance(the_target, @owner) the_target end

 RSpec
RSpec Ruby on Rails
Ruby on Rails Ruby
Ruby 
   
    
 
    
    
 
  