Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrading from 1.1 to 2.0.0 issue #190

Open
darrenli2 opened this issue Apr 4, 2022 · 0 comments
Open

upgrading from 1.1 to 2.0.0 issue #190

darrenli2 opened this issue Apr 4, 2022 · 0 comments

Comments

@darrenli2
Copy link

darrenli2 commented Apr 4, 2022

upgrading activerecord-session_store from 1.1 to 2.0.0 and replacing
Logging::Logger.include ActiveRecord::SessionStore::Extension::LoggerSilencer with
Logging::Logger.include ::LoggerSilence
rails version 5.2.7
I got error

	<NameError> undefined local variable or method `local_level' for #<Logging::Logger:0x00005558307ec808>
Did you mean?  local_variables
  /vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.7/lib/active_support/logger_silence.rb:18:in `silence'
	 /vendor/bundle/ruby/2.6.0/gems/activerecord-session_store-2.0.0/lib/action_dispatch/session/active_record_store.rb:119:in `get_session_model'
	 /vendor/bundle/ruby/2.6.0/gems/activerecord-session_store-2.0.0/lib/action_dispatch/session/active_record_store.rb:147:in `find_session'
	 /vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:314:in `load_session'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant