diff options
author | wycats <wycats@gmail.com> | 2010-06-07 22:31:42 -0400 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-06-07 22:31:42 -0400 |
commit | 0042f4166f783085eb909d69d542b5323d8af5d6 (patch) | |
tree | d5146c78b4142d476cb861b49839b6aa910b9d63 /activesupport | |
parent | 94ed39d146e898f15317477c8ca61cbb4d3b97d0 (diff) | |
download | rails-0042f4166f783085eb909d69d542b5323d8af5d6.tar.gz rails-0042f4166f783085eb909d69d542b5323d8af5d6.tar.bz2 rails-0042f4166f783085eb909d69d542b5323d8af5d6.zip |
If we undef <=>, it solves a problem involving comparison. Please figure out the root cause.
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/multibyte/chars.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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 =~ /!$/ |