This project is archived and is in readonly mode.

Changeset [3d6eea0221f0092cb3c3270c2a9bdf31745d1b2d] 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...

Committed by Michael Koziarski

  • M activerecord/lib/active_record/validations/uniqueness.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>