Created: 2014-05-19 12:59
Updated: 2014-06-12 23:52

N.B. This is a sample app for the Atlanta Intermediate Ruby group. I'm not serious. Don't take it seriously.


Cats on demand

Running Locally

Clone this repo and then

$ bundle
$ rake db:setup cats:herd  # to download some gifs
$ rails s


Assuming the app is already up and running…

$ rake db:test:prepare  # if needed
$ rspec

Note that (in the interest of not actually depending on outside services), "serving" a cat gif really just calls open on the file. You may need to replace that call with thunar or nautilus or what have you if you're not on OSX.

Project Goals

  • Select a queue backend
  • Run CatRequest#fulfill! in the background
  • Make sure specs still pass
    • Bonus: find a better way of spec'ing the open system call
  • Install a job administration system
  • Determine appropriate failure / retry logic


Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more