collectiveidea/delayed_job — Issue #346: Rake jobs:work vs. script/delayed_job start - issue with route urls
Author: designwaves
Created: 2012-02-01 23:00:16+00:00
State: open

I am trying to figure out why when I run the following

RAILS_ENV=development script/delayed_job start - Everything runs fine

RAILS_ENV=development bundle exec rake jobs:work - I get this {You can no longer call ActionMailer::Base.default_url_options directly. You need to set config.action_mailer.default_url_options. If you are using ActionMailer standalone, you need to include the routing url_helpers directly.}

I'm trying to add this to my welcome.html.erb message

``ruby

<%= link_to "#{new_user_session_url(:subdomain => @account.subdomain)}", new_user_session_url(:subdomain => @account.subdomain) %>

``