resque-sliders icon indicating copy to clipboard operation
resque-sliders copied to clipboard

Namespaces?

Open j-mcnally opened this issue 11 years ago • 0 comments

Hey, I am trying to use your plugin but the KEWatcher isnt showing up in the sliders tab, could this be related to me having a resque namespace?

I have an initializer:

# don't rely on Rails being loaded in this file, so that the
# sinatra web interface can use this config also
rails_root = ENV['RAILS_ROOT'] || File.dirname(__FILE__) + '/../..'
rails_env = ENV['RAILS_ENV'] || 'development'

resque_config = YAML.load_file(rails_root + '/config/resque.yml')
Resque.redis = resque_config[rails_env]
Resque.redis.namespace = "appname-#{rails_env}"

which sets up redis to use a namespace, however i fear KEWatcher doesnt have the concept of this namespace, would i need to fork to get this config, or is there a way to configure it via the resque.yml etc?

j-mcnally avatar Aug 20 '13 19:08 j-mcnally