Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Updated README with schema dump information #51

merged 1 commit into from

2 participants

ren commented

Added information about config.active_record.schema_format = :sql for reliable schema dumps for testing and reliable schema dumps in general.


Thanks for the pull request Ren!

@diogob diogob merged commit 03588cd into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 8, 2012
  1. @ren

    Added information about config.active_record.schema_format = :sql for…

    ren authored
    … reliable schema dumps.
This page is out of date. Refresh to see the latest.
Showing with 12 additions and 0 deletions.
  1. +12 −0
@@ -156,6 +156,18 @@ To avoid the above, make sure all named parameters are strings:
Have fun.
+Test Database
+To have hstore enabled when you load your database schema (as happens in rake db:test:prepare), you'll need to
+uncomment or add the following line in config/application.rb
+ config.active_record.schema_format = :sql
+This will change your schema dumps from Ruby to SQL. If you're
+unsure about the implications of this change, we suggest reading this
+[Rails Guide](
Something went wrong with that request. Please try again.