Rails3 + Resque ref: http://qiita.com/items/29ed6cb2b2c4ed105f91