Flowdock
method

nullify_owner_attributes

Importance_0
v4.0.2 - Show latest stable - 0 notes - Class: ActiveRecord::Associations::HasOneAssociation
nullify_owner_attributes(record) private

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_association.rb, line 91
        def nullify_owner_attributes(record)
          record[reflection.foreign_key] = nil
        end
Register or log in to add new notes.