Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [e3523f1d33c3cf53f1a65e520be5e937e9c68c1d] by Tarmo Tänav

Revision e3523f1d33c3cf53f1a65e520be5e937e9c68c1d, committed 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...

1 changed file

  • M activerecord/lib/active_record/validations.rb