aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-06-12 06:36:01 -0700
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-06-12 06:36:01 -0700
commit14ccb0d8bed4ba7e04be47dfb41bbb44cc8b5ad5 (patch)
treefc551a8889b51f06d7268116e6746c721d403753 /guides/source
parent122f6de2e038dbbece4ee59ddcfcf75ae9c49f63 (diff)
parent34492af710e9309f58eb740029f5076d0f59ea18 (diff)
downloadrails-14ccb0d8bed4ba7e04be47dfb41bbb44cc8b5ad5.tar.gz
rails-14ccb0d8bed4ba7e04be47dfb41bbb44cc8b5ad5.tar.bz2
rails-14ccb0d8bed4ba7e04be47dfb41bbb44cc8b5ad5.zip
Merge pull request #6444 from kennyj/create_extenstion_hstore
Create hstore extension when building PostgreSQL databases (for rails contributor).
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/contributing_to_ruby_on_rails.textile2
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/source/contributing_to_ruby_on_rails.textile b/guides/source/contributing_to_ruby_on_rails.textile
index acf75d41cd..92c607b6f5 100644
--- a/guides/source/contributing_to_ruby_on_rails.textile
+++ b/guides/source/contributing_to_ruby_on_rails.textile
@@ -190,6 +190,8 @@ $ rake postgresql:build_databases
NOTE: Using the rake task to create the test databases ensures they have the correct character set and collation.
+NOTE: You'll see the following warning (or localized warning) during activating HStore extension in PostgreSQL 9.1.x or earlier: "WARNING: => is deprecated as an operator".
+
If you’re using another database, check the files under +activerecord/test/connections+ for default connection information. You can edit these files to provide different credentials on your machine if you must, but obviously you should not push any such changes back to Rails.
You can now run the tests as you did for +sqlite3+. The tasks are respectively