Try isbn validation uniqueness with db index and allow_nill
- Create an index in postgresql
- Use
allow_nil
on isbn validation - Create a callback on create and update which set
isbn
to nil if it is blank - Make all blank isbn to nil
- Deploy the patch
Edited by Justin !