aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/gem_version.rb
diff options
context:
space:
mode:
authorJon Moss <me@jonathanmoss.me>2016-05-02 17:56:57 -0400
committerJon Moss <me@jonathanmoss.me>2016-05-04 15:49:25 -0400
commit09159d8530069ded68d1d5455dbe5009fb44c1c7 (patch)
tree06dda1a1c0f7a5751c704df22efd9f09c5479034 /activerecord/lib/active_record/gem_version.rb
parent08e86b4b055c3b527ebc3f3fdaaa2198ce919cd4 (diff)
downloadrails-09159d8530069ded68d1d5455dbe5009fb44c1c7.tar.gz
rails-09159d8530069ded68d1d5455dbe5009fb44c1c7.tar.bz2
rails-09159d8530069ded68d1d5455dbe5009fb44c1c7.zip
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.
Diffstat (limited to 'activerecord/lib/active_record/gem_version.rb')
0 files changed, 0 insertions, 0 deletions