Module: ActiveRecord::PGCrypto::PatchedSerialized
- Defined in:
- lib/active_record/pgcrypto/patches.rb
Overview
Patched ‘serialize` wrapper class to play well with [ActiveModel::Dirty]
Instance Method Summary collapse
-
#changed_in_place? ⇒ FalseClass
Determines whether the mutable value has been modified since it was read.
Instance Method Details
#changed_in_place? ⇒ FalseClass
Determines whether the mutable value has been modified since it was read
Since encrypted binary data, from our coder, can return same decrypted values, we don’t check it.
14 15 16 17 18 |
# File 'lib/active_record/pgcrypto/patches.rb', line 14 def changed_in_place?(*) return false if coder == ActiveRecord::PGCrypto::SymmetricCoder super end |