A quick question: in the query
Company.where(:status => :active), is it OK to use the symbol (:active) as a value in the query?
It definitely works with no issues at all.
But there’s a lot of controversy around that in the squeel:
Ernie explains that the use of Symbols in ActiveRecord wasn’t assumed and is incorrect.
Additionally, he says “In AR documentation, symbols are never shown as a value in examples.”.
I personally feel a bit lost in this regard and it would be awesome if somebody could shade some light on this.