Method: SuperSettings::Setting#changes
- Defined in:
- lib/super_settings/setting.rb
#changes ⇒ Hash<String, Array>
Get hash of attribute changes. The hash keys are the names of attributes that have changed and the values are an array with [old value, new value]. The keys will be one of key, raw_value, value_type, description, deleted, created_at, or updated_at.
578 579 580 |
# File 'lib/super_settings/setting.rb', line 578 def changes @changes.dup end |