Assuming the following array:
["Palm nova", "", "Palm trad", "Palm discard", nil, "Palm actual"]
the goal is to extract the first item of the list, that is not a blank "" or nil
The rails where clause allows to order the results based on one or more attributes, in asc or desc order. But where does that place the blank item when using Postgresql as the database?
Are "" and nil treated the same?