Moving to a rails app