lib/uniqueness/generator.rb in uniqueness-1.0.0 vs lib/uniqueness/generator.rb in uniqueness-1.1.0
- old
+ new
@@ -32,10 +32,11 @@
length: 32,
type: :auto,
blacklist: [],
scope: [],
suffix: '',
- prefix: ''
+ prefix: '',
+ trigger_on: :before_validation
}
end
end
end