title: sidekiq executes jobs when called in rails console, but not in app controller
body: <p>Thanks for reading, I'm new to Sidekiq -- and hope that this is a simple configuration issue I'm missing. 
  Anyhoo -- </p>
  
  <p>Redis is up locally. Foreman loads rails and sidekiq's sinatra app. 
  I call a sidekiq method in the rails console- and it executes immediately (though is not registered in the dashboard at  localhost/sidekiq ... but job is processed and email is sent).</p>
  
  <p>I call the same method in the controller, within the app, and the job enqueues, but never executes.
  So -- what am I doin wrong? </p>
  
  <p>here's some code!</p>
  
  <p>Procfile</p>
  
  <pre><code>web: bundle exec unicorn -p $PORT -c ./config/unicorn.rb
  worker: bundle exec sidekiq  2&gt;&amp;1 | logger -t sidekiq
  </code></pre>
  
  <p>config/unicorn.rb</p>
  
  <pre><code>worker_processes Integer(ENV["WEB_CONCURRENCY"] || 5)
  timeout 15
  preload_app true
  
  before_fork do |server, worker|
    Signal.trap 'TERM' do
      puts 'Unicorn master intercepting TERM and sending myself QUIT instead'
      Process.kill 'QUIT', Process.pid
    end
  
    defined?(ActiveRecord::Base) and        ActiveRecord::Base.connection.disconnect!
  end
  
  after_fork do |server, worker|
    Signal.trap 'TERM' do
      puts 'Unicorn worker intercepting TERM and doing nothing. Wait for master to send QUIT'
    end
  
    defined?(ActiveRecord::Base) and ActiveRecord::Base.establish_connection
  
    Sidekiq.configure_client do |config|
      config.redis = { size: 1 }
    end
  end
  </code></pre>
  
  <p>config/initializers/sidekiq.rb</p>
  
  <pre><code>Sidekiq.configure_server do |config|
    config.redis = { url: 'redis://localhost:6379/12' }
  end
  
  Sidekiq.configure_client do |config|
    config.redis = { url: 'redis://localhost:6379/12' }
  end
  </code></pre>
  
  <p>I call </p>
  
  <pre><code>DonationMailerWorker.perform_async(Donation.last.id) 
  </code></pre>
  
  <p>in the console. and get a nice sidekiq return id:
  "5725654a3b202d8ea5fc2ef3"
  and recieve some email shortly thereafter. 
  hurray!</p>
  
  <p>BUT -- 
  I call the SAME METHOD in the controller
  Sidekiq adds the job to the default queue, shown in the dashboard UI, but never executes it. </p>
  
  <p>Also -- in the controller -- if I call the method synchronously -- ala</p>
  
  <pre><code>DonationMailerWorker.new.perform(Donation.last.id) 
  </code></pre>
  
  <p>It DOES execute correctly and immediately. </p>
  
  <p>So -- people of greater sidekiq capability -- 
  Please help.</p>
  
  <p>And -- more stats re: my dev env -->
  ruby 2.0.0
  rails 4.1.5
  mailgun email via smtp</p>
  
  <p>Thank you!</p>