Flowdock
method

replace

Importance_0
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: ActiveRecord::Associations::HasOneThroughAssociation
replace(record) public

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/has_one_through_association.rb, line 7
      def replace(record)
        create_through_record(record)
        self.target = record
      end
Register or log in to add new notes.