Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is session store initializer removed in Rails 5.1.1

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

like image 548
John Smith Avatar asked Jun 20 '17 20:06

John Smith


1 Answers

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.

like image 76
mikej Avatar answered Oct 12 '22 06:10

mikej