diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-01-17 00:01:25 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-01-17 00:05:31 -0300 |
commit | c048f0ba8361a80290c268a351543e00547950b2 (patch) | |
tree | 406f4cdce273eb92f14c82686f66ea97884b2289 /actionpack/lib | |
parent | f6fc352927ca1db03e4c0541a49845ac9e51573a (diff) | |
download | rails-c048f0ba8361a80290c268a351543e00547950b2.tar.gz rails-c048f0ba8361a80290c268a351543e00547950b2.tar.bz2 rails-c048f0ba8361a80290c268a351543e00547950b2.zip |
Do not need each here anymore
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/helpers/active_model_helper.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/actionpack/lib/action_view/helpers/active_model_helper.rb b/actionpack/lib/action_view/helpers/active_model_helper.rb index 6a9fbcf0f2..973135e2ea 100644 --- a/actionpack/lib/action_view/helpers/active_model_helper.rb +++ b/actionpack/lib/action_view/helpers/active_model_helper.rb @@ -16,9 +16,7 @@ module ActionView end end - %w(content_tag).each do |meth| - module_eval "def #{meth}(*) error_wrapping(super) end", __FILE__, __LINE__ - end + module_eval "def content_tag(*) error_wrapping(super) end", __FILE__, __LINE__ def tag(type, options, *) tag_generate_errors?(options) ? error_wrapping(super) : super |