I want to find all records where a field is not true. The working AR syntax for this is:
Dog.where(:stray => [false, nil])
Is there a less verbose way of querying for 'not true'? It really sucks having to cater for this mysql nuance everywhere.
I want to find all records where a field is not true. The working AR syntax for this is:
Dog.where(:stray => [false, nil])
Is there a less verbose way of querying for 'not true'? It really sucks having to cater for this mysql nuance everywhere.