README.md in dashing-rails-2.6.1 vs README.md in dashing-rails-2.6.2

- old
+ new

@@ -28,12 +28,12 @@ * Drag & Drop interface for re-arranging your widgets. * Host your dashboards on Heroku in less than 30 seconds. ## Requirements -* Ruby >=1.9.3 -* Rails 4 +* Ruby >= 1.9.3 +* Rails >= 4 * Redis * Multi Threaded server ([puma](https://github.com/puma/puma), [rainbows](http://rainbows.rubyforge.org/)) ## Getting Started @@ -146,11 +146,14 @@ ``` where `*` can be anything. This give you all the flexibility you need to push to redis. For example the `send_event` method provided by Dashing uses the following namespace: ```ruby -redis.publish("dashing_events.create", {}) +redis.with do |redis_connection| + redis_connection.publish("dashing_events.create", {}) +end ``` +(where `redis_connection` is a redis connection from a connection pooler.) You can configure the redis namespace in `config/initializers/dashing.rb`: ```ruby config.redis_namespace = 'your_redis_namespace'