Module: ActiveRecord::Encryption::ExtendedDeterministicQueries::ExtendedEncryptableType

Defined in:
activerecord/lib/active_record/encryption/extended_deterministic_queries.rb

Instance Method Summary collapse

Instance Method Details

#serialize(data) ⇒ Object


136
137
138
139
140
141
142
# File 'activerecord/lib/active_record/encryption/extended_deterministic_queries.rb', line 136

def serialize(data)
  if data.is_a?(AdditionalValue)
    data.value
  else
    super
  end
end