to display the validation error, the last patch i sent out
"elaborate errors reported by registration service" needs to
be applied
---
src/app/models/user.rb | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/app/models/user.rb b/src/app/models/user.rb
index fe429bd..8e007bc 100644
--- a/src/app/models/user.rb
+++ b/src/app/models/user.rb
@@ -27,4 +27,7 @@ class User < ActiveRecord::Base
belongs_to :quota, :autosave => true
accepts_nested_attributes_for :quota
+
+ validates_length_of :first_name, :maximum => 255
+ validates_length_of :last_name, :maximum => 255
end
--
1.7.2.3