mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
09159d8530
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. |
||
---|---|---|
.. | ||
json_params_parsing_test.rb | ||
multipart_params_parsing_test.rb | ||
query_string_parsing_test.rb | ||
session_test.rb | ||
url_encoded_params_parsing_test.rb |