class ActiveRecord::ConnectionAdapters::AdvantageColumn
Private Instance Methods
simplified_type(field_type)
click to toggle source
Overridden to handle Advantage integer, varchar, binary, and timestamp types Rails 4 does not use this.
Calls superclass method
# File lib/active_record/connection_adapters/advantage_adapter.rb, line 82 def simplified_type(field_type) case field_type when /logical/i :boolean when /varchar/i, /char/i, /memo/i :string when /long binary/i :binary when /timestamp/i :datetime when /short|integer/i, /autoinc/i :integer else super end end