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 i18n for outfits#new (and layouts#application), including caching 2013-01-24 18:23:18 -06:00
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 capitalize each word of a species/color name (for Swamp Gas) 2011-07-12 18:22:16 -04:00
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 parameterize user params like items, plus a cleaner parameterization scheme 2011-07-26 18:49:52 -04:00
roulette.rb species check was in the wrong place. fixed 2011-01-27 17:50:08 -05:00
species.rb Fix bug with Arel ordering 2023-10-23 19:05:05 -07:00
static_resource.rb attempt to fix new species_support_ids format. sigh. 2013-01-23 00:25:09 -06:00
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