Sha256: 96fcbb19dc42ec993a789d561dd466de6752ca1b0bd75b670a435677c5b83273

Contents?: true

Size: 321 Bytes

Versions: 9

Compression:

Stored size: 321 Bytes

Contents

module Jpmobile
  module ActiveRecordStoreRegenerateSessionId
    def destroy_session(env, session_id, options)
      super(env, session_id, options)

      session_id || Jpmobile::SessionID.generate_sid
    end
  end
end

ActionDispatch::Session::ActiveRecordStore.prepend Jpmobile::ActiveRecordStoreRegenerateSessionId

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
jpmobile-7.1.0 lib/jpmobile/session/active_record_store.rb
jpmobile-7.0.4 lib/jpmobile/session/active_record_store.rb
jpmobile-7.0.3 lib/jpmobile/session/active_record_store.rb
jpmobile-7.0.2 lib/jpmobile/session/active_record_store.rb
jpmobile-7.0.1 lib/jpmobile/session/active_record_store.rb
jpmobile-7.0.0 lib/jpmobile/session/active_record_store.rb
jpmobile-6.1.2 lib/jpmobile/session/active_record_store.rb
jpmobile-6.1.1 lib/jpmobile/session/active_record_store.rb
jpmobile-6.1.0 lib/jpmobile/session/active_record_store.rb