This project is archived and is in readonly mode.
Changeset [6d8d77e3ced9c12478591f8af8590f40c73a2593] by Tarmo Tänav
Revision 6d8d77e3ced9c12478591f8af8590f40c73a2593,
committed by Tarmo Tänav
· August 24th, 2008 @ 05:36 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 michael@koziarski.com http://github.com/rails/rails/co...
1 changed file
-
M
activerecord/lib/active_record/validations.rb