search for: m000753

Displaying 2 results from an estimated 2 matches for "m000753".

Did you mean: 1000753
2006 May 25
4
Using an external database behind a firewall
Hi everyone, There''s a separate database I''m using to get mail group info for our users (Sympa), and I''ve got Rails configured to pull data directly from it via an entry in database.yml The issue we''re having is that the database server in question is behind an internal firewall that has idle timeouts set at 30 minutes. If the connection isn''t used
2006 Aug 16
0
How to reconnect to the database?
...do is catch that exception and then reconnect to the database. Hwo do I do this? I saw a reconnect! method, but I have no idea which object to run that on how how to actually use it. Here is where I saw it: http://api.rubyonrails.com/classes/ActiveRecord/ConnectionAdapters/AbstractAdapter.html#M000753 Do I just do Product.reconnect!, ha ha. I know that''s not right, but how do I use that reconnect! method? Thanks for your help. -- Posted via http://www.ruby-forum.com/.