method

write

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: HashAccessor
write(object, attribute, key, value) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/store.rb, line 226
        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
Register or log in to add new notes.