Converting to a rails project