Hey folks,
instead of this
module ActionView
module Helpers
module FormHelper
def text_area_with_wrap(object_name, method, options)
"<span class=\"wrap\">#{text_area_without_wrap(object_name, method, options)}</span>"
end
alias_method_chain :text_area, :wrap
end
end
end
for obvious reasons I would want to do this
module ActionView
module Helpers
module FormHelper
def text_area_with_wrap(*args)
"<span class=\"wrap\">#{text_area_without_wrap(args)}</span>"
end
alias_method_chain :text_area, :wrap
end
end
end
Does nay of you know if and how this can be done? Can't find it in the manuals.
Many thanks in advance!