splitting a rails application