APIdock / Ruby on Rails
/
Browse About
method

error_message

v2.3.8 - Show latest stable - Class: ActionView::Helpers::InstanceTag
error_message()
public

No documentation available.

# File actionpack/lib/action_view/helpers/active_record_helper.rb, line 296
      def error_message
        object.errors.on(@method_name)
      end

Related methods

  • Instance methods
  • column_type
  • content_tag
  • error_message
  • error_wrapping
  • object
  • tag
  • to_boolean_select_tag
  • to_check_box_tag
  • to_collection_select_tag
  • to_content_tag
  • to_date_select_tag
  • to_date_select_tag
  • to_date_select_tag_without_error_wrapping
  • to_datetime_select_tag
  • to_datetime_select_tag
  • to_datetime_select_tag_without_error_wrapping
  • to_grouped_collection_select_tag
  • to_input_field_tag
  • to_label_tag
  • to_radio_button_tag
  • to_select_tag
  • to_tag
  • to_text_area_tag
  • to_time_select_tag
  • to_time_select_tag
  • to_time_select_tag_without_error_wrapping
  • to_time_zone_select_tag
  • value
  • value_before_type_cast
  • Class methods
  • check_box_checked?
  • new
  • radio_button_checked?
  • value
  • value_before_type_cast
  • Private methods
  • privateadd_default_name_and_id
  • privateadd_default_name_and_id_for_value
  • privateadd_options
  • privatedatetime_selector
  • privatedefault_datetime
  • privatesanitized_method_name
  • privatesanitized_object_name
  • privatetag_id
  • privatetag_id_with_index
  • privatetag_name
  • privatetag_name_with_index
APIdock API Documentation Browser

© 2026 APIdock