class ActiveRecord::Associations::BelongsToAssociation
Public Instance Methods
remove_keys()
click to toggle source
# File lib/citus-rails-4.2/belongs_to_association.rb, line 3 def remove_keys return remove_keys_without_cpk unless reflection.foreign_key.is_a?(Array) fk = reflection.foreign_key - [owner.class.partition_column] owner[fk] = nil end
Also aliased as: remove_keys_without_cpk