rails/rails — Issue #3487: ActionView::Base.field_error_proc not called for FormBuilder#date_select
Author: v-yarotsky
Created: 2011-11-01 12:04:55+00:00
State: open

See actionpack/lib/action_view/helpers/active_model_helper.rb, module ActiveModelInstanceTag. There is follwing code:

%w(content_tag to_date_select_tag to_datetime_select_tag to_time_select_tag).each do |meth|
module_eval "def #{meth}(*) error_wrapping(super) end", __FILE__, __LINE__
end