Add Rails example

I've done my best to build a working Rails example. It works and can be verified by manually running the program, but I just can't figure out how to get tests working so all the automated tests fail.