From: Tomas Sedovic <[email protected]>

---
 src/app/models/realm.rb |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/app/models/realm.rb b/src/app/models/realm.rb
index 07bb306..f3fef53 100644
--- a/src/app/models/realm.rb
+++ b/src/app/models/realm.rb
@@ -29,6 +29,7 @@ class Realm < ActiveRecord::Base
   validates_uniqueness_of :external_key, :scope => :provider_id
 
   validates_presence_of :name
+  validates_length_of :name, :maximum => 1024
 
   AGGREGATOR_REALM_PROVIDER_DELIMITER = ":"
   AGGREGATOR_REALM_ACCOUNT_DELIMITER = "/"
-- 
1.6.6.1

_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Reply via email to