rails application using resque