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