A sample app in rails