README.rdoc in redis-settings-0.1.0 vs README.rdoc in redis-settings-0.1.1

- old
+ new

@@ -6,10 +6,12 @@ gem install redis-settings Redis::Settings store all data in JSON format. The default parser is yajl-ruby[https://rubygems.org/gems/yajl-ruby], with fallback to json[https://rubygems.org/gems/json]. Make sure you have one of those installed. +If you're running Ruby 1.9, you're ready to go! + == Usage require "redis/settings" # Reuse an existing Redis connection. @@ -44,9 +46,17 @@ user = User.first user.settings[:role] = "admin" <b>NOTE:</b> When record is destroyed, all settings are erased. + +=== Rails 3 + +Rails 3 set its own namespace like <tt>settings/#{Rails.env}</tt>. + +You can override the root namespace as + + Redis::Settings.root_namespace = "custom" = Mantainer * Nando Vieira (http://nandovieira.com.br)