Last Updated: February 25, 2016
·
1.584K
· alanho

Postgres HStore & RSpec

When you use activerecord-postgres-hstore gem with RSpec, be sure to uncomment the following line in application.rb

config.active_record.schema_format = :sql

The rails's schema dump format doesn't play nice with hstore