ActiveRecord
ActiveRecord::Validations
ActiveRecord::Validations::ClassMethods
activerecord/lib/active_record/validations/uniqueness.rb
View on GitHub