building a rails app