A small useful tip: Mysqlâs query planner occasionally has trouble picking the right index. Iâve found that normally if you try variations long enough, eventually you find a way to do the right thing. Recently however I ran into one I couldnât coax. No big deal you say, after all, thatâs what find_by_sql is for no? Only problem is, the query in question was inside a with_scope block, and I really
{{#tags}}- {{label}}
{{/tags}}