Finished demo app for rails