impress/app
Matchu e8131f3608 Fix bug with Arel ordering
Ok so weird little situation, usually Arel will accept an attribute as a param to `order()`, but not when it's in a very specific situation of all of the following:

`Item.joins(:translations).includes(:translations).limit(30).order(Item::Translation.arel_table[:name])`

For some reason, it's all like "hey I can't call `to_sql` on an attribute!", but only in the scenario where all 3 of those other things are present. Weird!

Anyway, explicitly saying `.asc` fixes this. Ok!
2023-10-23 19:05:05 -07:00
..
assets Delete unused Pledgie files 2023-10-23 19:05:05 -07:00
controllers Fix missing attribute error on homepage 2023-10-23 19:05:05 -07:00
helpers Delete Camo references & Addressable gem 2023-10-23 19:05:05 -07:00
mailers donation mailer 2014-09-10 14:32:54 -05:00
models Fix bug with Arel ordering 2023-10-23 19:05:05 -07:00
views Delete Camo references & Addressable gem 2023-10-23 19:05:05 -07:00