Skip to content

upgrading from 1.1 to 2.0.0 issue  #190

@darrenli2

Description

@darrenli2

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions