For a more complete look, see:
http://gist.github.com/434435
To summarize briefly:
If the @:unique@ option is used on more than one properties, the unique indicies created in the database and the validations created are either 1. Inconsistent with each other 2. Result in redundant queries being issued and/or redundant indicies being created
Created by Jonathan Stott (namelessjon) - 2010-06-11 13:18:17 UTC
Original Lighthouse ticket: http://datamapper.lighthouseapp.com/projects/20609/tickets/1316
该提问来源于开源项目:datamapper/dm-core