module ActiveRecord::PGCrypto::PatchedSerialized
Patched `serialize` wrapper class to play well with [ActiveModel::Dirty]
Public Instance Methods
changed_in_place?(*args, **kwargs)
click to toggle source
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.
@return [FalseClass] on our coder values.
Calls superclass method
# File lib/active_record/pgcrypto/patches.rb, line 14 def changed_in_place?(*args, **kwargs) return false if coder == ActiveRecord::PGCrypto::SymmetricCoder super end