sample app with rails