Flowdock

Notes posted by sandyxu

RSS feed
June 26, 2013 - (v3.0.0 - v3.2.13)
0 thanks

IS NOT NULL or !=

where.not()

# SELECT `users`.* FROM `users` WHERE (`users`.`id` != 1) AND (`users`.`name` IS NOT NULL)
 User.where.not(id: 1).where.not(name: nil)