benlieb: I have many translations in my database whose label attribute is "clicker.counter.title_slug" however my rails query:
Keeps finding none. Is there some syntax gotcha here?
Translation.where(label: "clicker.counter.title_slug").to_sql
=> "SELECT "translations".* FROM "translations" WHERE "translations"."label" = 'clicker.counter.title_slug'"
GitHub Copilot: I can see the issue! Looking at your Translation model, you have a scope :label defined on line 14: