Posted on Sep 21, 2012 by
Massive Ox
In Ruby, 0 is true. It's a common mistake for Ruby developers. Furthermore, ActiveRecord introduces different behaviour based on the column type.
if 0 system("touch /tmp/owned") end
Status: New
Labels:
Type-Defect
Priority-Medium