impress/app/models
Emi Matchu fe4db1b605 Improve prediction for what pets need modeling for an item
Noticing a lot of Maraquan items on the homepage today, and they're
doing that thing of expecting standard body types to be relevant too,
because I think we wrote this logic before the Maraquan Mynci ended up
having the same standard Mynci body? (Maybe? Or maybe I'm being
ahistorical and I just wrote this wrong to begin with lol)

In any case, this is more accurate, and I think I'm also maybe
incidentally noticing that it's running faster, at least in my brief
before/after production testing? (There's *more* queries, like 100! But
many of them are *very* fast lookups, coming in at under 1ms—and also a
lot of them are dupes being served by Rails's request-scoped query
cache.)
2024-10-03 13:49:15 -07:00
..
fundraising Move fundraising models into the Fundraising module 2024-02-18 20:29:31 -08:00
item Merge remote-tracking branch 'origin/main' 2024-07-01 14:56:08 -07:00
alt_style.rb Use full name when showing Alt Styles in the list 2024-09-30 17:41:21 -07:00
application_record.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
auth_record.rb Add AuthUser model, connecting to openneo_id db 2023-10-23 19:05:07 -07:00
auth_user.rb Use Neopets username as base name for new NeoPass accounts, if possible 2024-04-09 07:48:13 -07:00
closet_hanger.rb Fix MissingAttributeError in ClosetHanger#merge_quantities 2024-02-28 13:30:55 -08:00
closet_list.rb Disallow email addresses in closet list descriptions 2024-04-16 17:04:31 -07:00
closet_visibility.rb Delete a couple unused accessors 2023-11-11 15:42:08 -08:00
color.rb Add filter form to alt styles page 2024-09-30 16:06:22 -07:00
contribution.rb Track contributions of Alt Styles 2024-01-24 03:54:43 -08:00
item.rb Improve prediction for what pets need modeling for an item 2024-10-03 13:49:15 -07:00
item_outfit_relationship.rb Oops, update outfit's updated_at when adding/removing items 2024-02-08 10:32:53 -08:00
nc_mall_record.rb Add more info to NC Mall section of Item Getting Guide 2024-05-14 16:04:40 -07:00
neopets_connection.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
neopets_page.rb Update most URLs to use HTTPS 2023-10-25 15:22:57 -07:00
outfit.rb Add Customize More button back to item pages 2024-09-06 17:12:11 -07:00
parent_swf_asset_relationship.rb Add cached fields to Item model for searching, but don't use them yet 2024-09-30 23:10:44 -07:00
pet.rb Oops, fix crash when modeling Patchwork Staff (AMFPHP string encoding!) 2024-09-27 15:18:43 -07:00
pet_state.rb Add edit form to Rainbow Pool for pet states, for support staff only 2024-09-27 22:14:00 -07:00
pet_type.rb Oops, fix new bug in homepage modeling code 2024-10-02 17:54:14 -07:00
species.rb Drastically reduce queries for item page preview 2024-09-05 17:52:35 -07:00
swf_asset.rb Add html5 badge to new item previews 2024-09-05 18:48:41 -07:00
user.rb Add shadowban mechanism for closet lists 2024-04-20 20:57:15 -07:00
zone.rb Remove unused logic for whether a zone is "sometimes" occupied 2024-08-31 13:16:47 -07:00