1
0
Fork 0
forked from OpenNeo/impress
impress/app
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
..
assets Oops, fix silly bug keeping the bulk list form open all the time 2024-01-23 04:40:05 -08:00
controllers Oops, load the data for the bulk item quantity form on the trades page! 2024-01-21 06:42:24 -08:00
helpers Persist item user lists form open/closed state across pageloads 2024-01-23 04:30:23 -08:00
javascript Remove old trade hangers UI from item page 2024-01-21 04:49:06 -08:00
mailers donation mailer 2014-09-10 14:32:54 -05:00
models Start migrating off globalize gem for species/color names 2024-01-23 05:10:43 -08:00
services Extend OWLS caching from 15 minutes to 1 day 2024-01-15 06:19:48 -08:00
views Persist item user lists form open/closed state across pageloads 2024-01-23 04:30:23 -08:00