1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Add to guides info how to disable prepared statements

This commit is contained in:
Ivan Evtukhovich 2012-04-17 12:57:19 +04:00
parent 7536731a9a
commit c6663235f6

View file

@ -525,6 +525,13 @@ development:
password: password:
</yaml> </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 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: If you choose to use SQLite3 and are using JRuby, your +config/database.yml+ will look a little different. Here's the development section: