Fix resque for postgres
This commit is contained in:
parent
19cb29e448
commit
c68540e9c9
2 changed files with 3 additions and 0 deletions
|
@ -27,3 +27,5 @@ Resque::Server.use Authentication
|
|||
|
||||
# Mailer
|
||||
Resque::Mailer.excluded_environments = []
|
||||
|
||||
Resque.before_fork = Proc.new { ActiveRecord::Base.establish_connection }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue