diff options
author | Tarmo Tänav <tarmo@itech.ee> | 2008-07-31 19:26:18 +0300 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-07-31 20:28:39 +0200 |
commit | 68b207b087588fc9a2cc8edb842408e3be5ba9ef (patch) | |
tree | 7a89e0c92251c3889e281e3a4b6ef5f9e16dccec /.gitignore | |
parent | 896a3b9ab8dc02639ffa0b1dbf85011e1f3eda9b (diff) | |
download | rails-68b207b087588fc9a2cc8edb842408e3be5ba9ef.tar.gz rails-68b207b087588fc9a2cc8edb842408e3be5ba9ef.tar.bz2 rails-68b207b087588fc9a2cc8edb842408e3be5ba9ef.zip |
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>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions