class ActiveRecord::ConnectionAdapters::NullDBAdapter::Column

Private Instance Methods

simplified_type(field_type) click to toggle source
Calls superclass method
# File lib/active_record/connection_adapters/nulldb_adapter/column.rb, line 6
def simplified_type(field_type)
  super || simplified_type_from_sql_type
end
simplified_type_from_sql_type() click to toggle source
# File lib/active_record/connection_adapters/nulldb_adapter/column.rb, line 10
def simplified_type_from_sql_type
  case sql_type
  when :primary_key
    :integer
  when :string
    :string
  end
end