From f4fe450f0ff7d471cae4535fe0e707bbddad8f7a Mon Sep 17 00:00:00 2001 From: Coleman Date: Thu, 7 Aug 2008 17:45:08 -0500 Subject: [PATCH] use full message instead --- app/helpers/global_helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/global_helpers.rb b/app/helpers/global_helpers.rb index f0a8eab..4cf8700 100644 --- a/app/helpers/global_helpers.rb +++ b/app/helpers/global_helpers.rb @@ -11,7 +11,7 @@ module Merb res << "
" res << "

The following errors prevented the model from being saved:

" res << "
    " - obj.errors.each do |field, msg| + obj.errors.each_full do |msg| res << "
  1. #{msg}
  2. " end res << "
"