test/dummy/app/controllers/test_controller.rb in redis-actionpack-3.2.4 vs test/dummy/app/controllers/test_controller.rb in redis-actionpack-4.0.0

- old
+ new

@@ -21,10 +21,11 @@ def get_session_value render :text => "foo: #{session[:foo].inspect}" end def get_session_id - render :text => "#{request.session_options[:id]}" + session_id = request.session_options[:id] || cookies["_session_id"] + render :text => session_id end def call_reset_session session[:bar] reset_session