From 0042f4166f783085eb909d69d542b5323d8af5d6 Mon Sep 17 00:00:00 2001 From: wycats Date: Mon, 7 Jun 2010 22:31:42 -0400 Subject: If we undef <=>, it solves a problem involving comparison. Please figure out the root cause. --- activesupport/lib/active_support/multibyte/chars.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'activesupport/lib/active_support/multibyte/chars.rb') diff --git a/activesupport/lib/active_support/multibyte/chars.rb b/activesupport/lib/active_support/multibyte/chars.rb index 429b65bf15..d085280fe7 100644 --- a/activesupport/lib/active_support/multibyte/chars.rb +++ b/activesupport/lib/active_support/multibyte/chars.rb @@ -51,6 +51,8 @@ module ActiveSupport #:nodoc: end end + undef <=> + # Forward all undefined methods to the wrapped string. def method_missing(method, *args, &block) if method.to_s =~ /!$/ -- cgit v1.2.3