I have the following scope:
scope :comments, :conditions => [\'text_value IS NOT NULL\']
But I also want the conditions to say \"OR text_val
Use text_value <> '' to efficiently cover both cases.
text_value <> ''
Will only be TRUE for a text_value that is neither NULL nor empty.
TRUE
text_value
NULL
empty