diff options
author | Dov Murik <dov.murik@gmail.com> | 2009-01-26 16:10:00 +0200 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2009-01-27 09:55:25 +1300 |
commit | 5fe6635e05a18b312c47fe6bbbaf88fd62e7703d (patch) | |
tree | db3f0fd697d8a73e7cfd0b51e0826372c66f82ec /actionpack/lib/action_view/locale | |
parent | 57f0b859004698a38d6aa7d5cebc00de3fcb346d (diff) | |
download | rails-5fe6635e05a18b312c47fe6bbbaf88fd62e7703d.tar.gz rails-5fe6635e05a18b312c47fe6bbbaf88fd62e7703d.tar.bz2 rails-5fe6635e05a18b312c47fe6bbbaf88fd62e7703d.zip |
Mysql#reconnect is set according to the 'reconnect' key in the connection spec.
The 'reconenct' boolean option is read from the connection specification
and is used to set the reconnect attribute of Mysql. The default is
false in order not to change existing application behaviour.
Also, reconnect is set AFTER real_connect is called, so its value sticks
(the mysql gem sets reconnect to false inside real_connect).
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1797 state:committed]
Diffstat (limited to 'actionpack/lib/action_view/locale')
0 files changed, 0 insertions, 0 deletions