Module: DataMapper::PostgresJSON::ClassMethods

Defined in:
lib/dm-pg-json.rb

Instance Method Summary collapse

Instance Method Details

#type_mapObject



54
55
56
# File 'lib/dm-pg-json.rb', line 54

def type_map
  super.merge(Property::PgJSON => {:primitive => 'JSON'}).freeze
end