This project is archived and is in readonly mode.

Changeset [e3523f1d33c3cf53f1a65e520be5e937e9c68c1d] by Tarmo Tänav

August 15th, 2008 @ 11:44 PM

Fixed validates_uniqueness_of with decimal columns

Only use special case-sensitive comparison operators for text columns in validates_uniqueness_of as mysql can fail at decimal comparisons with the BINARY operator. http://github.com/rails/rails/co...

Committed by Tarmo Tänav

  • M activerecord/lib/active_record/validations.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>