Class: DynamicFieldsets::FieldOption
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- DynamicFieldsets::FieldOption
- Defined in:
- app/models/dynamic_fieldsets/field_option.rb
Overview
Base class for various field_options, field options are used for fields with a set of answers to choose from the field types that need options are select, checkbox, or radio
Instance Method Summary collapse
-
#enabled ⇒ Array
Scope: enabled field options.
Instance Method Details
#enabled ⇒ Array
Returns Scope: enabled field options.
17 |
# File 'app/models/dynamic_fieldsets/field_option.rb', line 17 scope :enabled, :conditions => { :enabled => true } |