diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-11-24 12:05:17 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-11-24 12:05:17 -0800 |
commit | 565fad350ebef6d42c567fb9ba57477f76dad1a9 (patch) | |
tree | bfeaa36f98316b539e653567f58657e1fcb0e3ae /actionpack/lib | |
parent | 0f07b537cef715eb48169675d5582a06f4277b40 (diff) | |
download | rails-565fad350ebef6d42c567fb9ba57477f76dad1a9.tar.gz rails-565fad350ebef6d42c567fb9ba57477f76dad1a9.tar.bz2 rails-565fad350ebef6d42c567fb9ba57477f76dad1a9.zip |
Ruby 1.9 compat: explicitly require delegate for cookie's DelegateClass
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/cgi_ext/cookie.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/cgi_ext/cookie.rb b/actionpack/lib/action_controller/cgi_ext/cookie.rb index 009ddd1c64..9cd19bb12d 100644 --- a/actionpack/lib/action_controller/cgi_ext/cookie.rb +++ b/actionpack/lib/action_controller/cgi_ext/cookie.rb @@ -1,3 +1,5 @@ +require 'delegate' + CGI.module_eval { remove_const "Cookie" } # TODO: document how this differs from stdlib CGI::Cookie |