use full message instead
parent
2c7bf77f4b
commit
f4fe450f0f
|
@ -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>"
|
||||
|
|
Reference in New Issue