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