Parent

Methods

Class/Module Index [+]

Quicksearch

ActiveRecord::Associations::HasOneThroughAssociation

Public Instance Methods

replace(new_value) click to toggle source
# File D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/activerecord-3.0.9/lib/active_record/associations/has_one_through_association.rb, line 9
def replace(new_value)
  create_through_record(new_value)
  @target = new_value
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.