Sha256: ac0053bdaa2ce37fc54b818e38f3196f48a41e5139bbf9dc9efe8c5cc16277d7

Contents?: true

Size: 328 Bytes

Versions: 11

Compression:

Stored size: 328 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.send :prepend, Jpmobile::ActiveRecordStoreRegenerateSessionId

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
jpmobile-6.0.0 lib/jpmobile/session/active_record_store.rb
jpmobile-5.2.5 lib/jpmobile/session/active_record_store.rb
jpmobile-6.0.0.beta lib/jpmobile/session/active_record_store.rb
jpmobile-5.2.4 lib/jpmobile/session/active_record_store.rb
jpmobile-5.0.1 lib/jpmobile/session/active_record_store.rb
jpmobile-5.1.1 lib/jpmobile/session/active_record_store.rb
jpmobile-5.2.3 lib/jpmobile/session/active_record_store.rb
jpmobile-5.2.2 lib/jpmobile/session/active_record_store.rb
jpmobile-5.2.1 lib/jpmobile/session/active_record_store.rb
jpmobile-5.2.0 lib/jpmobile/session/active_record_store.rb
jpmobile-5.1.0 lib/jpmobile/session/active_record_store.rb