Add rails file switch