aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2009-12-27 23:50:41 +0100
committerJeremy Kemper <jeremy@bitsweat.net>2010-01-01 14:28:55 -0800
commit4a27d42637f47ed7410208a11a8b752e027c3bfd (patch)
treefa86d78f851dfdf862d34869d216f325a080f9c4 /activesupport/lib/active_support/core_ext
parent4a7a14b0e15e07dbc4e49cfdd0694c17f81cfad0 (diff)
downloadrails-4a27d42637f47ed7410208a11a8b752e027c3bfd.tar.gz
rails-4a27d42637f47ed7410208a11a8b752e027c3bfd.tar.bz2
rails-4a27d42637f47ed7410208a11a8b752e027c3bfd.zip
require cgi to reopen it, not technically needed but makes sense
Diffstat (limited to 'activesupport/lib/active_support/core_ext')
-rw-r--r--activesupport/lib/active_support/core_ext/cgi/escape_skipping_slashes.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/core_ext/cgi/escape_skipping_slashes.rb b/activesupport/lib/active_support/core_ext/cgi/escape_skipping_slashes.rb
index 1c3ef05526..d3c3575748 100644
--- a/activesupport/lib/active_support/core_ext/cgi/escape_skipping_slashes.rb
+++ b/activesupport/lib/active_support/core_ext/cgi/escape_skipping_slashes.rb
@@ -1,3 +1,5 @@
+require 'cgi'
+
class CGI #:nodoc:
if RUBY_VERSION >= '1.9'
def self.escape_skipping_slashes(str)