use full message instead

This commit is contained in:
Coleman 2008-08-07 17:45:08 -05:00
commit f4fe450f0f

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>"