Permalink
Browse files

Fixed exception raised by using html_safe! instead of html_safe

  • Loading branch information...
1 parent 9149191 commit b7b55e456ec6c7caabecb5f5ea9bcf21e4d5beb7 Victor Costan committed with josh Feb 15, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/prototype_helper.rb
View
@@ -330,7 +330,7 @@ def remote_form_for(record_or_name_or_array, *args, &proc)
concat(form_remote_tag(options))
fields_for(object_name, *(args << options), &proc)
- concat('</form>'.html_safe!)
+ concat('</form>'.html_safe)
end
alias_method :form_remote_for, :remote_form_for

0 comments on commit b7b55e4

Please sign in to comment.