This project is archived and is in readonly mode.
Changeset [68b207b087588fc9a2cc8edb842408e3be5ba9ef] by Tarmo Tänav
July 31st, 2008 @ 07:28 PM
Cast value to string in validates_uniqueness_of if the column is of text type
This fixes an error for postgresql where "text_column = 100" fails in version 8.3
Signed-off-by: Michael Koziarski
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>