Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

no need to module_eval here anymore

  • Loading branch information...
commit bf5f483cb25e648f437dc07adb072f2a10b11eb0 1 parent b184fab
@amatsuda amatsuda authored rafaelfranca committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 actionpack/lib/action_view/helpers/active_model_helper.rb
View
4 actionpack/lib/action_view/helpers/active_model_helper.rb
@@ -16,7 +16,9 @@ def object
end
end
- module_eval "def content_tag(*) error_wrapping(super) end", __FILE__, __LINE__
+ def content_tag(*)
+ error_wrapping(super)
+ end
def tag(type, options, *)
tag_generate_errors?(options) ? error_wrapping(super) : super
Please sign in to comment.
Something went wrong with that request. Please try again.