Why is session store initializer removed in Rails 5.1.1
Asked Answered
W

1

9

I went to this website to see the differences between Rails 5.0.0 and Rails 5.1.1

Why does 5.1.1 not anymore include: config/initializers/session_store.rb?

Thanksenter image description here

Winding answered 20/6, 2017 at 20:36 Comment(1)
Did you check the release notes or the commit message?Carrizales
S
12

Here's the commit where it was removed: Setup default session store internally, no longer through an application initializer

In summary, new apps don't have that initializer, instead the session store is set to cookie store by default. i.e. the same as the value that used to be specified in the generated version of that initializer.

Santoro answered 20/6, 2017 at 20:53 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.