Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 772 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 772 Bytes

ActiveJob Retry test

resque-retry is really neat and I wanted to see how easy it would be to re-implement this generically with Rails 4.2 ActiveJob. Turns out it's pretty easy. The meat is in FollowUpEmailJob.

Running

gem install mailcatcher
mailcatcher # Teeny SMTP server to check that the job is sending emails

# Get everything installed and serving
bundle install
rake db:create db:migrate
rackup

# Fire up Resque:
make scheduler
make work

Visit http://localhost:9292/users/new and sign yourself up!

Mailcatcher shows its inbox on 1080.