summaryrefslogtreecommitdiff
path: root/app/models/user_custom_attribute.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/user_custom_attribute.rb')
-rw-r--r--app/models/user_custom_attribute.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user_custom_attribute.rb b/app/models/user_custom_attribute.rb
index e0ffe8ebbfd..c4d6fea9a4e 100644
--- a/app/models/user_custom_attribute.rb
+++ b/app/models/user_custom_attribute.rb
@@ -4,5 +4,5 @@ class UserCustomAttribute < ActiveRecord::Base
belongs_to :user
validates :user_id, :key, :value, presence: true
- validates :key, uniqueness: { scope: [:user_id] }
+ validates :key, uniqueness: {scope: [:user_id]}
end