lib/rails-settings/base.rb in rails-settings-cached-0.6.4 vs lib/rails-settings/base.rb in rails-settings-cached-0.6.5

- old
+ new

@@ -40,12 +40,10 @@ end # set a setting value by [] notation def []=(var_name, value) super - - Rails.cache.write(cache_key(var_name, @object),value) - + Rails.cache.write(cache_key(var_name, @object), value) value end def save_default(key, value) Kernel.warn 'DEPRECATION WARNING: RailsSettings save_default is deprecated and it will removed in 0.7.0. ' <<