I have a number of records that I'm looping through, and i'm trying to flag out specific records that do not match the logic within my conditional. However whatever I've been trying, my results have been all of my records.
User.all.map do |u|
if [u.zip_code == true]
User.all.map do |u| if u.zip_code u.name end end
But what if zip_code is not true?