my first crack at a rails app