This project is archived and is in readonly mode.
Changeset [3d6eea0221f0092cb3c3270c2a9bdf31745d1b2d] by Michael Koziarski
Revision 3d6eea0221f0092cb3c3270c2a9bdf31745d1b2d,
committed by Michael Koziarski
· November 7th, 2010 @ 09:16 PM
Update the validates_uniqueness_of documentation to tell you to use a unique index.
The other options mentioned were not good ideas and disclaimed
as such in the documentation.
https://github.com/rails/rails/commit/3d6eea0221f0092cb3c3270c2a9bd...
1 changed file
-
M
activerecord/lib/active_record/validations/uniqueness.rb