1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test/dispatch/request
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
..
json_params_parsing_test.rb Deprecate :controller and :action path parameters 2016-03-01 08:48:53 +00:00
multipart_params_parsing_test.rb Deprecate :controller and :action path parameters 2016-03-01 08:48:53 +00:00
query_string_parsing_test.rb Deprecate :controller and :action path parameters 2016-03-01 08:48:53 +00:00
session_test.rb Ensure compatibility between ActionDispatch::Request::Session and Rack 2016-05-04 15:49:25 -04:00
url_encoded_params_parsing_test.rb Deprecate :controller and :action path parameters 2016-03-01 08:48:53 +00:00