I can't seem to get a select to work on non-empty fields:

where{(:search_phrase != nil) & (:client_ip != '192.168.1.50')}.

Tried this as well:

where{(:search_phrase != '') & (:client_ip != '192.168.1.4')}.

PostgreSQL registers the field as *null*, but searches come back with *nil* 
as field values.  

How can I eliminate rows with empty fields?  Cheers

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/3d150a88-6584-4d08-b24f-90683dc156ae%40googlegroups.com.

Reply via email to