Commit 5f3d4c30 authored by Samir Noir's avatar Samir Noir 🧀
Browse files

Fix validates_uniqueness_of deprecated case sensitive

parent 5075f915
......@@ -26,7 +26,7 @@ module Grid5000
serialize :result, JSON
validates_presence_of :user_uid, :site_uid, :environment, :nodes
validates_uniqueness_of :uid
validates_uniqueness_of :uid, :case_sensitive => true
before_create do
self.created_at ||= Time.now.to_i
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment