Forum: Ruby on Rails backgroundrb and rails environment in running tests

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Joerg D. (Guest)
on 2007-04-16 18:43
Hi,

If I start backgroundrb with rails_env = production, and then run my
test suite, is it true that my background tasks will run against the
production database?

Can I prevent this from happening when I mistakenly end up with a
combination like this?

Thanks
Joerg
This topic is locked and can not be replied to.