diff options
author | Ivan Evtukhovich <evtuhovich@gmail.com> | 2012-04-17 12:57:19 +0400 |
---|---|---|
committer | Ivan Evtukhovich <evtuhovich@gmail.com> | 2012-04-19 11:27:26 +0400 |
commit | c6663235f6ac2c9e09187c8413903211ddeb76d2 (patch) | |
tree | 29cf4e24b7996eed3c270f240e2ae79df09493e8 /guides | |
parent | 7536731a9ac5668a81c2581697edf25e1341519e (diff) | |
download | rails-c6663235f6ac2c9e09187c8413903211ddeb76d2.tar.gz rails-c6663235f6ac2c9e09187c8413903211ddeb76d2.tar.bz2 rails-c6663235f6ac2c9e09187c8413903211ddeb76d2.zip |
Add to guides info how to disable prepared statements
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/configuring.textile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/guides/source/configuring.textile b/guides/source/configuring.textile index 717654d5d8..1541428af9 100644 --- a/guides/source/configuring.textile +++ b/guides/source/configuring.textile @@ -525,6 +525,13 @@ development: password: </yaml> +If you use external connection pool manager, you can disable prepared statements in rails: +<yaml> +production: + adapter: postgresql + prepared_statements: false +</yaml> + h5. Configuring an SQLite3 Database for JRuby Platform If you choose to use SQLite3 and are using JRuby, your +config/database.yml+ will look a little different. Here's the development section: |