Browse files

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

… reliable schema dumps.
  • Loading branch information...
ren committed Oct 8, 2012
1 parent 6f3084a commit e2a8fe4a6e347c5f301c2c7a5e8611e6552ef8a9
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](

0 comments on commit e2a8fe4

Please sign in to comment.