I only want to find the records that aren’t null or empty/blank, currently I have;
named_scope :in_gallery, :conditions => ["gallery IS NOT NULL"]
(gallery is a string) but if the user inputs then deletes a title then this empty string is included in the results.
to clarify I want to be able to select only the entries where the field has some text…
What about
?