Class: ActiveRecord::Properties::StringProperty

Inherits:
Base
  • Object
show all
Includes:
CommonAccessors
Defined in:
lib/active_record/properties/string_property.rb

Instance Attribute Summary

Attributes inherited from Base

#name

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_optionsObject



6
7
8
# File 'lib/active_record/properties/string_property.rb', line 6

def formtastic_options
  {:as => :string}
end