KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am trying to find records where a specified property is not empty or blank. Since it is a string it is not nil in the database. Post.where(:sourceurl != '') The above seems like it should work but I still get records returned where the source_url property is empty. What is the proper way to do this?
Tags (comma-separated)
Save Edits
Cancel