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:
parent
7536731a9a
commit
c6663235f6
1 changed files with 7 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue