Method: SuperSettings::Setting.active

Defined in:
lib/super_settings/setting.rb

.activeArray<Setting>

Get all the current settings.

Returns:



102
103
104
105
106
# File 'lib/super_settings/setting.rb', line 102

def active
  storage.with_connection do
    storage.active.collect { |record| new(record) }
  end
end