There is a test required for scoped uniqueness. Shoulda offers no support here, so you have to write it by hand. I can offer help if needed.