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

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

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?

This topic is locked and can not be replied to.