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 119
        def nullify_owner_attributes(record)
          Array(reflection.foreign_key).each do |foreign_key_column|
            record[foreign_key_column] = nil unless foreign_key_column.in?(Array(record.class.primary_key))
          end
        end
Register or log in to add new notes.