1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib/action_dispatch
Jon Moss 09159d8530 Ensure compatibility between ActionDispatch::Request::Session and Rack
Adding the `each` method is required for ensuring compatibility between
Rails, and other Rack frameworks (like Sinatra, etc.), that are mounted
within Rails, and wish to use its session tooling. Prior to this, there
was an inconsistency between ActionDispatch::Request::Session and
Rack::Session::Cookie, due to the absence of the `each` method. This
should hopefully fix that error. :)

For a full integration test with Sinatra and a standalone Rack
application, you can check out the gist for that here: https://gist.github.com/maclover7/08cd95b0bfe259465314311941326470.

Solves #15843.
2016-05-04 15:49:25 -04:00
..
http Remove last uses of @env[] and @env[]= 2016-04-28 20:26:58 -04:00
journey Merge pull request #23103 from rails/refactor-handling-of-action-default 2016-04-24 15:27:46 -07:00
middleware Fix deprecation warning for ParamsParser instance 😄 2016-03-30 10:16:07 +05:30
request Ensure compatibility between ActionDispatch::Request::Session and Rack 2016-05-04 15:49:25 -04:00
routing Add more info to insecure URL generation error 2016-04-26 22:14:03 +02:00
testing Remove last uses of @env[] and @env[]= 2016-04-28 20:26:58 -04:00
journey.rb Integrate Journey into Action Dispatch 2012-12-19 22:13:08 +00:00
railtie.rb Don't reference Rails.application from inside a component 2016-03-02 02:14:54 +10:30
routing.rb Add more info to insecure URL generation error 2016-04-26 22:14:03 +02:00