Rails application example. Taken from komarserjio/notejam