His suggestion is correct, the fix should be in the application, not the driver.
There's no "post-fork" hook right now, but one thing that you could do
is to close the connection at the end of environment.rb, then every
time you need the database you can re-establish the connection if you
notice that the connection is closed.
--
Phusion | The Computer Science Company
Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)
Would you mind posting your code back to the list. Right now I am
using my legacy Oracle database read-only from my Rails apps (hosted
with mongrel and with Passenger). I haven't seen any problems -
probably because I am not writing to Oracle - but was considering
building a Rails app that reads and writes to that database.
(And, by the way, what version of Oracle are you using and what were
the errors you were seeing?)
--
Cynthia Kiser
c...@caltech.edu