Method: SuperSettings::Setting#changes

Defined in:
lib/super_settings/setting.rb

#changesHash<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.

Returns:

  • (Hash<String, Array>)


578
579
580
# File 'lib/super_settings/setting.rb', line 578

def changes
  @changes.dup
end