class ActiveRecord::ConnectionAdapters::PostgreSQLColumn

Public Instance Methods

simplified_type_with_hstore(field_type) click to toggle source

Adds the hstore type for the column.

# File lib/activerecord-postgres-hstore/activerecord.rb, line 76
def simplified_type_with_hstore(field_type)
  field_type == 'hstore' ? :hstore : simplified_type_without_hstore(field_type)
end