Skip to content

Commit a0d363f

Browse files
dpowelllifo
authored andcommitted
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.
1 parent 4583103 commit a0d363f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/components.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def process_with_components(request, response, parent_controller = nil) #:nodoc:
3030

3131
module HelperMethods
3232
def render_component(options)
33-
@controller.send!(:render_component_as_string, options)
33+
@controller.__send__(:render_component_as_string, options)
3434
end
3535
end
3636

0 commit comments

Comments
 (0)