Module: Golden::Setting
- Defined in:
- lib/golden/setting.rb,
lib/golden/setting/base.rb,
lib/golden/setting/name.rb,
lib/golden/setting/cache.rb,
lib/golden/setting/error.rb,
lib/golden/setting/group.rb,
lib/golden/setting/value.rb,
lib/golden/setting/action.rb,
lib/golden/setting/engine.rb,
lib/golden/setting/version.rb,
lib/golden/setting/resource.rb,
lib/golden/setting/form_option.rb,
app/helpers/golden/setting/settings_helper.rb,
app/models/concerns/golden/setting/resourced.rb
Defined Under Namespace
Modules: Action, Cache, Error, FormOption, Group, Name, Resourced, SettingsHelper, Value Classes: Base, Engine, InstallGenerator, Resource, SettingsController
Constant Summary collapse
- VERSION =
'0.8.2'
- @@setting_class =
'Setting'
- @@table_name =
'golden_settings'
- @@field_types =
[ ['string', :string], ['boolean', :boolean], ['select', :select], ['radio_buttons', :radio_buttons], ['check_boxes', :check_boxes] ]
- @@groups =
[]
- @@default_group =
''
- @@group_delimiter =
'.'
- @@skip_groups_method =
nil
- @@skip_settings =
[]
- @@default_tab =
''
- @@permitted_fields =
[ :field_type, :field_values, :group, :name, :value ]
- @@before_actions =
[]
Class Method Summary collapse
Class Method Details
.configure {|_self| ... } ⇒ Object
46 47 48 |
# File 'lib/golden/setting.rb', line 46 def self.configure yield self end |