Ruby on Rails: How to run things in the background?

You should definitely check out the following Railscasts:

  • http://railscasts.com/episodes/127-rake-in-background
  • http://railscasts.com/episodes/128-starling-and-workling
  • http://railscasts.com/episodes/129-custom-daemon
  • http://railscasts.com/episodes/366-sidekiq

They explain how to run background processes in Rails in every possible way (with or without a queue …)

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)