impress/app/models
Emi Matchu 0dca538b0a Start migrating off globalize gem for species/color names
Non-English languages haven't been supported on Neopets for a while, so
I'd like to remove this extra cross-cutting complexity, especially
since it's now inconsistent with the real site anyway!

The main motivation is that I'd like to do this for items too, because
I have a hunch that all the complexity of `globalize` to read
`item.name` is part of what's making large user lists so slow to
render: lots of little objects getting created down the stack, and
needing to be garbage-collected later.

I'm not sure that's why! But I figure removing this complexity is a
simplicity win anyway, so let's do it!

Note that this doesn't *finish* the migration, it just starts it! The
`Species::Translation` and `Color::Translation` models still exist, and
still have their data, and not all references to them are scrubbed yet.
I especially don't want to delete the backing tables until both DTI and
DTI 2020 are ready for it!

So this change will someday be paired with another change to actually
drop the tables - after backing up the data for future records just in
case, of course!
2024-01-23 05:10:43 -08:00
..
item Start migrating off globalize gem for species/color names 2024-01-23 05:10:43 -08: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 Clarify the error behavior on AuthUser syncing 2023-10-23 19:05:08 -07:00
campaign.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
closet_hanger.rb Basic trade hangers page, just content and without style 2024-01-21 03:10:06 -08:00
closet_list.rb Oops, fix bug that would sometimes flip own/want in the item bulk menu 2024-01-23 04:06:58 -08:00
closet_visibility.rb Delete a couple unused accessors 2023-11-11 15:42:08 -08:00
color.rb Start migrating off globalize gem for species/color names 2024-01-23 05:10:43 -08:00
contribution.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
donation.rb Mark some more relationships as optional 2023-10-23 19:05:07 -07:00
donation_feature.rb Mark some more relationships as optional 2023-10-23 19:05:07 -07:00
item.rb Remove unused data in items#show controller 2024-01-20 23:53:30 -08: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 Update most URLs to use HTTPS 2023-10-25 15:22:57 -07:00
outfit.rb Use the main app for outfit saving, not impress-2020 2023-11-02 16:54:35 -07:00
parent_swf_asset_relationship.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
pet.rb Delete a couple unused accessors 2023-11-11 15:42:08 -08:00
pet_state.rb Create endpoint to show all species appearances for a given color 2023-12-05 18:04:54 -08:00
pet_type.rb Start migrating off globalize gem for species/color names 2024-01-23 05:10:43 -08:00
species.rb Start migrating off globalize gem for species/color names 2024-01-23 05:10:43 -08:00
swf_asset.rb Remove unused NC Mall spider code & fields 2023-11-11 15:45:38 -08:00
user.rb Oops, load the data for the bulk item quantity form on the trades page! 2024-01-21 06:42:24 -08:00
zone.rb Replace swf_assets#index with item_appearances#index 2023-11-11 07:14:48 -08:00