Displaying 1 result from an estimated 1 matches for "gorchi".
Did you mean:
gorchie
2006 Nov 20
4
Production RAILS_ENV / DB Selection
...), my RailsBase
workers are insisting on using trying to access my development DB instead of
my "production" DB.
When I try to load a model object from within a worker, I get the following:
20061120-21:54:28 (26296) #<DRb::DRbUnknown:0x40691130>
20061120-21:54:28 (26296)
/var/www/gorchie/releases/20061120100506/config/../vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:387:in
`real_connect''
/var/www/gorchie/releases/20061120100506/config/../vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:387:in
`connect'...