Skip to content
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...
1 parent 4583103 commit a0d363fac54cddb88660ddce5593d461f764d67e @dpowell dpowell committed with lifo
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

0 comments on commit a0d363f

Please sign in to comment.
Something went wrong with that request. Please try again.