You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that 963ac91 removed some visitor support and changed the specs. I upgraded to the 4.0 gem version and am seeing that lines similar to Dog.where(:breed => Breed.build('golden_retriever')) now error. I didn't see any mention of that change in the CHANGELOG, but maybe I'm missing something?
The text was updated successfully, but these errors were encountered:
@bsedat that's a good point, this should be added to the changelog since it was intentional and breaking. The reason I pulled it out was because the hacks required to make it work relied on some arel internals that were inconsistent between different versions of Active Record.
I would recommend converting the enum object to a string if possible instead of passing it directly to the query.
I noticed that 963ac91 removed some visitor support and changed the specs. I upgraded to the 4.0 gem version and am seeing that lines similar to
Dog.where(:breed => Breed.build('golden_retriever'))
now error. I didn't see any mention of that change in the CHANGELOG, but maybe I'm missing something?The text was updated successfully, but these errors were encountered: