impress/app/models
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
..
item Remove unused "outfits#new newest_items" cache 2023-10-23 19:05:04 -07:00
application_record.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
campaign.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
closet_group.rb import items to a specific list 2013-04-09 15:50:33 -05:00
closet_hanger.rb Fix bug with Arel ordering 2023-10-23 19:05:05 -07:00
closet_list.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
closet_visibility.rb Cache trade info on items#show, finally! I think it's the performance culprit. 2013-12-27 14:49:46 -05:00
color.rb Fix bug with Arel ordering 2023-10-23 19:05:05 -07:00
contribution.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
donation.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
donation_feature.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
fragment_expiration.rb only send cache deletions for usable locales 2013-12-08 23:44:25 -06:00
fragment_localization.rb
image.rb Delete Camo references & Addressable gem 2023-10-23 19:05:05 -07:00
item.rb Fix bug with Arel ordering 2023-10-23 19:05:05 -07:00
item_outfit_relationship.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
neopets_connection.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
neopets_page.rb import from gallery 2015-07-28 15:05:40 -04:00
neopets_user.rb Use secret NEOPETS_URL_ORIGIN to bypass HTTPS 2022-08-02 20:46:47 -07:00
outfit.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
parent_swf_asset_relationship.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
pet.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
pet_attribute.rb
pet_state.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
pet_type.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
pretty_param.rb
roulette.rb
species.rb Fix bug with Arel ordering 2023-10-23 19:05:05 -07:00
static_resource.rb
swf_asset.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
user.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
zone.rb Fix bug with Arel ordering 2023-10-23 19:05:05 -07:00