Rails sample app for implementing pieces of ruby