search for: is_billed

Displaying 1 result from an estimated 1 matches for "is_billed".

2012 Nov 13
4
Proper use of the where method om ActiveRecord.
I am trying to determine what is going on with the following code: In AR def self.all_billables where( :is_billed => false ) end returns 2 records. def self.all_billables where( "is_billed" => false ) end also returns 2 records. In sqlite3 sqlite> select * from tests where ( "is_billed" = ''false'' ); returns 2 records. However, if I use these forms in AR t...