diff options
| author | Akira Matsuda <ronnie@dio.jp> | 2012-01-18 17:39:53 +0900 | 
|---|---|---|
| committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-01-23 07:32:46 -0200 | 
| commit | bf5f483cb25e648f437dc07adb072f2a10b11eb0 (patch) | |
| tree | f671dd3815a302f3ce48ac58fac174f5ba751b7c /actionpack/lib | |
| parent | b184fabb788e44bace51414c7202016a034a0356 (diff) | |
| download | rails-bf5f483cb25e648f437dc07adb072f2a10b11eb0.tar.gz rails-bf5f483cb25e648f437dc07adb072f2a10b11eb0.tar.bz2 rails-bf5f483cb25e648f437dc07adb072f2a10b11eb0.zip  | |
no need to module_eval here anymore
Diffstat (limited to 'actionpack/lib')
| -rw-r--r-- | actionpack/lib/action_view/helpers/active_model_helper.rb | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/active_model_helper.rb b/actionpack/lib/action_view/helpers/active_model_helper.rb index 973135e2ea..1187956081 100644 --- a/actionpack/lib/action_view/helpers/active_model_helper.rb +++ b/actionpack/lib/action_view/helpers/active_model_helper.rb @@ -16,7 +16,9 @@ module ActionView          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  | 
