Closed elithecho closed 8 years ago
If you added the enum later, it could be that the model you're retrieving doesn't have a status set yet (e.g. status is nil).
Thanks for clearing that up! @jeroenvisser101, that's something I shall take note of, appreciate it.
Closing this issue.
My enum queries aren't showing any results, am I doing something wrong here?
I even tried using
.where(status: :pending)
My model field
My logs