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.