I looked at this and was like. "ok literally what is `nonstandard_colors` trying to do" reading it again now, I'm realizing the idea is that it probably runs two queries: one to get nonstandard colors, then depends on ActiveRecord to implicitly convert the relation to an array and then to IDs for the second query? Instead of doing a join?? Idk, it's unused, so trash it! |
||
|---|---|---|
| .. | ||
| assets | ||
| controllers | ||
| helpers | ||
| javascript | ||
| mailers | ||
| models | ||
| services | ||
| views | ||