Hi, guys! Background: I've resque workers in my application. These workers do several jobs that associated with DB. In development environment, I've no need to provide some additional configuration for db, they are use development database. But then I switching to production env, I set ActiveRecord::Base.establish_connection with my production DB parameters.
Problem: When I'm switch back to development env, I've to comment ActiveRecord::Base.establish_connection every time. Hope, anybody can help me and provide a better approach for this situation. Sincerely, Nikolay Burlov. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.