use full message instead

master
Coleman 2008-08-07 17:45:08 -05:00
parent 2c7bf77f4b
commit f4fe450f0f
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ module Merb
res << "<br /><div id='errorExplanation'>"
res << "<p>The following errors prevented the model from being saved:</p>"
res << "<ol>"
obj.errors.each do |field, msg|
obj.errors.each_full do |msg|
res << "<li>#{msg}</li>"
end
res << "</ol>"