Rails scope for IS NOT NULL and is not empty/blank? June 4, 2023 by Tarik In Rails 4 you can do where.not(text_value: '')