a sample app for rails