lib/rails-settings/base.rb in rails-settings-cached-0.7.0 vs lib/rails-settings/base.rb in rails-settings-cached-0.7.1
- old
+ new
@@ -20,10 +20,10 @@
def cache_key(var_name, scope_object)
scope = ["rails_settings_cached"]
scope << @cache_prefix.call if @cache_prefix
scope << "#{scope_object.class.name}-#{scope_object.id}" if scope_object
scope << var_name.to_s
- scope.join('/')
+ scope.join("/")
end
def [](key)
return super(key) unless rails_initialized?
val = Rails.cache.fetch(cache_key(key, @object)) do