diff options
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_view/helpers/prototype_helper.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/actionpack/lib/action_view/helpers/prototype_helper.rb b/actionpack/lib/action_view/helpers/prototype_helper.rb index 0435f5c426..f4ea25af16 100644 --- a/actionpack/lib/action_view/helpers/prototype_helper.rb +++ b/actionpack/lib/action_view/helpers/prototype_helper.rb @@ -1066,6 +1066,11 @@ module ActionView # Converts chained method calls on DOM proxy elements into JavaScript chains class JavaScriptProxy < BasicObject #:nodoc: + if ::RUBY_VERSION >= '1.9' + undef_method :== + undef_method :equal? + end + def initialize(generator, root = nil) @generator = generator @generator << root if root |