replace_keys(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/belongs_to_association.rb, line 69
        def replace_keys(record)
          owner[reflection.foreign_key] = record[reflection.association_primary_key(record.class)]
        end
Register or log in to add new notes.