Created
October 14, 2010 19:32
-
-
Save mrrooijen/626860 to your computer and use it in GitHub Desktop.
For if you are using a Flash-based uploader like Uploadify and Rails 3.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Inside: config/initializers/session_store.rb | |
Rails.application.config.middleware.insert_before( | |
ActionDispatch::Session::CookieStore, | |
FlashSessionCookieMiddleware, | |
Rails.application.config.session_options[:key] | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The gem is a big win, given the number of people doing this and because most of the documentation is still dealing with Rails 2.x. Good work, just need to find more ways to get the word out so nobody else has to mess with it.