lib/rails-settings/request_cache.rb in rails-settings-cached-2.5.2 vs lib/rails-settings/request_cache.rb in rails-settings-cached-2.5.3

- old
+ new

@@ -1,11 +1,11 @@ module RailsSettings - if defined? ActiveSupport::CurrentAttributes + if defined? ActiveSupport::CurrentAttributes # For storage all settings in Current, it will reset after per request completed. # Base on ActiveSupport::CurrentAttributes # https://api.rubyonrails.org/classes/ActiveSupport/CurrentAttributes.html - class RequestCache < ActiveSupport::CurrentAttributes + class RequestCache < ActiveSupport::CurrentAttributes attribute :settings end else # https://github.com/steveklabnik/request_store # For Rails 5.0 @@ -25,6 +25,6 @@ RequestStore.store[:rails_settings_all_settings] end end end end -end \ No newline at end of file +end