↖️ Show all posts

ActiveRecord find where not null or empty

That is all you need, when using ActiveRecord:

.where("field_in_db <> ''")

⬅️ Read previous Read next ➡️