From c0a783610f5cf77050a55ad70b2cd2cf657bffe3 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Wed, 12 Mar 2014 16:21:01 -0700 Subject: just ask the response for the commit status, we do not need to ask the jar --- actionpack/lib/action_controller/metal/live.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib') diff --git a/actionpack/lib/action_controller/metal/live.rb b/actionpack/lib/action_controller/metal/live.rb index 43cf9b9723..fe63cf2b98 100644 --- a/actionpack/lib/action_controller/metal/live.rb +++ b/actionpack/lib/action_controller/metal/live.rb @@ -183,7 +183,7 @@ module ActionController super jar = request.cookie_jar # The response can be committed multiple times - jar.write self unless jar.committed? + jar.write self unless committed? jar.commit! headers.freeze end -- cgit v1.2.3