Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Get rid of 'Object#send!'. It was originally added because it's in Ruby

1.9, but it has since been removed from 1.9.

Backported from rails commit a1eb4e11c2cccb91483fa15f1a1a0b2ae518d2cf.
  • Loading branch information...
commit a0d363fac54cddb88660ddce5593d461f764d67e 1 parent 4583103
@dpowell dpowell authored lifo committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/components.rb
View
2  lib/components.rb
@@ -30,7 +30,7 @@ def process_with_components(request, response, parent_controller = nil) #:nodoc:
module HelperMethods
def render_component(options)
- @controller.send!(:render_component_as_string, options)
+ @controller.__send__(:render_component_as_string, options)
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.