While messing with a new website that I am working on, I find a slightly annoying issue with CakePHP that doesn't seem to be documented anywhere. I was trying to store a thumb up/down record in a tinyint(1) field. A thumb up would have a value of 1 and a thumb down would have a value of -1. CakePHP was kindly(sarcism) converting my -1 to a 1 every time.
It appears that CakePHP assumes that all tinyint(1) fields are actually boolean fields. Therefore, if anything other than...
[more]