From 79231c99940d8212a2d85553393434bf9e2b1796 Mon Sep 17 00:00:00 2001 From: Szymon Nowak Date: Tue, 23 Feb 2010 11:30:10 +0100 Subject: [PATCH] Fixed ActionDispatch::Response in Ruby 1.9. --- actionpack/lib/action_dispatch/http/response.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/actionpack/lib/action_dispatch/http/response.rb b/actionpack/lib/action_dispatch/http/response.rb index 1b8dd9a..ff3b6bd 100644 --- a/actionpack/lib/action_dispatch/http/response.rb +++ b/actionpack/lib/action_dispatch/http/response.rb @@ -43,7 +43,7 @@ module ActionDispatch # :nodoc: @block = nil @length = 0 - @status, @header, @body = status, header, body + self.status, self.header, self.body = status, header, body @cookie = [] @sending_file = false -- 1.6.6.1