Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Alternative README instructions for the test db #70

Merged
merged 1 commit into from

3 participants

@betelgeuse

You can continue using schema.rb if you set your database.yml to a
template database that has the hstore extension installed.

@betelgeuse betelgeuse Alternative README instructions for the test db
You can continue using schema.rb if you set your database.yml to a
template database that has the hstore extension installed.
6063745
@cs
cs commented

+1

@diogob diogob merged commit 5f8bb15 into diogob:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 22, 2013
  1. @betelgeuse

    Alternative README instructions for the test db

    betelgeuse authored
    You can continue using schema.rb if you set your database.yml to a
    template database that has the hstore extension installed.
This page is out of date. Refresh to see the latest.
Showing with 7 additions and 2 deletions.
  1. +7 −2 README.md
View
9 README.md
@@ -159,8 +159,13 @@ 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
+To have hstore enabled when you load your database schema (as happens in rake db:test:prepare), you
+have two options.
+
+The first option is creating a template database with hstore installed and set the template option
+in database.yml to that database.
+
+The second option is to uncomment or add the following line in config/application.rb
config.active_record.schema_format = :sql
Something went wrong with that request. Please try again.