Fixing conditional on data service initialization in config.ru template