Class: ActiveRecord::Properties::BooleanProperty
- Includes:
- CommonAccessors
- Defined in:
- lib/active_record/properties/boolean_property.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
add_property_accessor, #initialize, property_accessors
Constructor Details
This class inherits a constructor from ActiveRecord::Properties::Base
Instance Method Details
#formtastic_options ⇒ Object
6 7 8 |
# File 'lib/active_record/properties/boolean_property.rb', line 6 def {:as => :boolean, :checked_value => 'true', :unchecked_value => 'false'} end |