El siguiente buscador imprime IS NULL
.ActiveRecord IS NOT NULL buscador sql
User.where(:id =>nil) #=> []
User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` IS NULL ORDER BY created_at DESC
¿Pero no pude encontrar cómo imprimir IS NOT NULL
one?
Duplicate http://stackoverflow.com/questions/4252349/rail-3-where-condition-using-not-null – Vache
Esta pregunta tiene su respuesta - http://stackoverflow.com/questions/4252349/rail-3- where-condition-using-not-null – ipr101