error_message_on (ActionView::Helpers::ActiveRecordHelper)

    # File lib/action_view/helpers/active_record_helper.rb, line 87
          def error_message_on(object, method, prepend_text = "", append_text = "", css_class = "formError")
            if errors = instance_variable_get("@#{object}").errors.on(method)
              content_tag("div", "#{prepend_text}#{errors.is_a?(Array) ? errors.first : errors}#{append_text}", :class => css_class)
            end
          end