1
0
Fork 0
forked from OpenNeo/impress
Dress to Impress, a big fancy Neopets customization tool!
Find a file
Emi Matchu 1e99376449 Remove hundreds of unnecessary queries from /alt-styles page!
I think the Rails query cache handled these anyway? But `SwfAsset` has
a `before_save` hook that checks its zone's info, and
`SwfAsset.preload_manifests` saves all the assets, on the assumption
that saving is a no-op when the record didn't change anyway. And it
basically is!

But I figure that, now that I'm realizing hooks exist, simply not
attempting to save unchanged records is probably a better
representation of what we intend to do. So I'm fixing it like that!

Another potential fix would be to preload the zones for these assets,
but I think that confuses the intent too much; the method itself isn't
using the zones, it's just a weird incidental thing that a save hook
happens to use. (Would probably be better to refactor this old save
hook into a different situation altogether, but that's for another
time!)
2024-05-29 18:52:36 -07:00
.devcontainer Save last trade activity time onto User 2024-01-19 00:00:46 -08:00
.husky
app Remove hundreds of unnecessary queries from /alt-styles page! 2024-05-29 18:52:36 -07:00
bin Actually create user from NeoPass authentication! <3 <3 2024-03-14 19:11:06 -07:00
config Disable sending performance traces to health.openneo.net 2024-05-19 19:14:06 -07:00
db
deploy
lib
public
test
vendor
.eslintrc.json
.gitignore
.ruby-version
.yarnrc.yml
config.ru
falcon.rb
Gemfile Refactor to use OpenID Connect OmniAuth gem instead of plain OAuth2 2024-03-14 18:11:40 -07:00
Gemfile.lock
LICENSE.md
package.json
Procfile.dev
Rakefile
README.md
yarn.lock

Dress to Impress beach logo

Dress to Impress

Oh! We've been revitalizing the Rails app! Fun!

There'll be more to say about it here soon :3