[LRUG] Baffled by inconsistent behaviour of Rails find_by_* method

Mark Woods mwoods at online.ie
Wed Aug 24 04:54:55 PDT 2011


>> In MySQL's world "4400/3H" == 4400
>> Yet another reason to ditch mysql.
>
> I can't reproduce this with mysql 5.0

I've just realised that I haven't been able to reproduce it because I
was using a string that isn't parsed as a number. Oh my word, that's
horrible.



More information about the Chat mailing list