This project is archived and is in readonly mode.
Changeset [68b207b087588fc9a2cc8edb842408e3be5ba9ef] by Tarmo Tänav
Revision 68b207b087588fc9a2cc8edb842408e3be5ba9ef,
committed 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
1 changed file
-
M
activerecord/lib/active_record/validations.rb