From c6663235f6ac2c9e09187c8413903211ddeb76d2 Mon Sep 17 00:00:00 2001
From: Ivan Evtukhovich <evtuhovich@gmail.com>
Date: Tue, 17 Apr 2012 12:57:19 +0400
Subject: Add to guides info how to disable prepared statements

---
 guides/source/configuring.textile | 7 +++++++
 1 file changed, 7 insertions(+)

(limited to 'guides/source/configuring.textile')

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:
-- 
cgit v1.2.3

