Move rails setting to data api