Skip to content

can't change session_store options #33904

@francescob

Description

@francescob

Steps to reproduce

in an initializer try to set
Rails.application.config.session_store :active_record_store, :key => '_my_app_session'

or in application.rb

config.session_store :active_record_store, :key => '_my_app_session'

Expected behavior

session store should be set to active_record_store and key should be called _my_app_session

Actual behavior

both session store and session key keeps default values (CookieStore)

System configuration

Rails version:
5.2.1
Ruby version:
2.5.1

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