Skip to content

Instantly share code, notes, and snippets.

@mrrooijen
Created October 14, 2010 19:32
Show Gist options
  • Save mrrooijen/626860 to your computer and use it in GitHub Desktop.
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.
## Inside: config/initializers/session_store.rb
Rails.application.config.middleware.insert_before(
ActionDispatch::Session::CookieStore,
FlashSessionCookieMiddleware,
Rails.application.config.session_options[:key]
)
@pacovell
Copy link

pacovell commented Jan 8, 2011

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment