Displaying 1 result from an estimated 1 matches for "outstanding_todos".
2006 Nov 24
1
Booleans, :conditions and Sqlite
Howdy,
Names changed to protect the innocent...
I have a column, lets say ''complete'' on a table, lets say ''todos''.
I originally had that column as boolean (as its true/false)
I added an association to User... has_many :outstanding_todos which had
a :conditions => "complete = false".
When I run this up it doesn''t work, and the reson it doesn''t work is
Sqlite (which I''m using for development) seems to set the value of a
false boolean column to ''f'' (which I''m fair...