class ActiveRecord::Store::HashAccessor
def self.write(object, attribute, key, value)
def self.write(object, attribute, key, value) prepare(object, attribute) if value != read(object, attribute, key) object.public_send :"#{attribute}_will_change!" object.public_send(attribute)[key] = value end end