Guides: when migrating from 3.0, change NAME::Application.config.session_store #7685

Closed
drnic opened this Issue Sep 18, 2012 · 8 comments

Projects

None yet

4 participants

@drnic
Contributor
drnic commented Sep 18, 2012

In the guides for upgrading from Rails 3.0 to Rails 3.1, it would be helpful to document that the session_store key needs to be changed.

# config/initializers/session_store.rb
AppName::Application.config.session_store :cookie_store, :key => 'SOMETHINGNEW'

This migration step is also documented in this ticket #2509 (comment)

@steveklabnik
Member

Come on, Nic, didn't you see we don't accept feature requests in Issues!

Regardless, I've pushed rails/docrails@1664093, which will take care of this for you. :p

Thanks for bringing it up. ❤️

@rafaelfranca
Member

Thanks

@frodsan
Contributor
frodsan commented Sep 18, 2012

I think it should be backported to 3-2-stable. This will go to edgeguides.

@rafaelfranca
Member

Open the pull request please.

@steveklabnik
Member

This guide doesn't exist on the 3-2-stable branch...

@drnic
Contributor
drnic commented Sep 18, 2012

I couldn't quite figure out where the guides were now to make a patch; so I thought to quickly document what I learnt. Thanks guys!

@steveklabnik
Member

See #7686

@steveklabnik
Member

@drnic no worries, I'm just messing with you. Better to bring it up than to not!

@steveklabnik steveklabnik added a commit to steveklabnik/rails that referenced this issue Sep 18, 2012
@steveklabnik steveklabnik Add upgrading note to 3.1 release notes.
See #7685.
1929d9f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment