method
to_datetime_select_tag
to_datetime_select_tag(options = {}, html_options = {})
public
Hide source
# File actionpack/lib/action_view/helpers/active_record_helper.rb, line 275 def to_datetime_select_tag(options = {}, html_options = {}) if object.respond_to?(:errors) && object.errors.respond_to?(:on) error_wrapping(to_datetime_select_tag_without_error_wrapping(options, html_options), object.errors.on(@method_name)) else to_datetime_select_tag_without_error_wrapping(options, html_options) end end