1
0
Fork 0
forked from OpenNeo/impress
Dress to Impress, a big fancy Neopets customization tool!
Find a file
Matchu b8a8cb9b20 Stop orphaning hangers when deleting lists
Idk if this used to be different or what, but it looks like the current
behavior is: if you delete a closet list, it'll leave the hangers
present, but Classic DTI would not show them anywhere; but Impress 2020
(until recently) would crash about it.

Now, we use `dependent: :destroy` to delete the hangers when you delete
the list (which I think makes sense, and is different than what I
decided in the past but that's ok, and is what the current behavior
*looks* like to people!), and we add a migration that deletes orphaned
hangers.

The migration also outputs the deleted hangers as JSON, for us to hold
onto in case we made a mistake! I'm also backing up the database in
advance of running this migration, just in case we gotta roll back HARD!
2023-10-24 15:35:21 -07:00
.vscode
app Stop orphaning hangers when deleting lists 2023-10-24 15:35:21 -07:00
autotest
bin Precompile assets when deploying new version 2023-10-23 19:05:09 -07:00
config Remove the now-unused pets#submit action 2023-10-23 19:05:10 -07:00
db Stop orphaning hangers when deleting lists 2023-10-24 15:35:21 -07:00
deploy
doc
lib
public Stop saving local copies of SWFs 2023-10-23 19:05:10 -07:00
script
spec
test
tmp
vendor Security updates 2023-10-23 19:08:56 -07:00
.gitignore Remove Vagrant config 2023-10-23 19:05:09 -07:00
.ruby-version
config.ru
Gemfile Security updates 2023-10-23 19:08:56 -07:00
Gemfile.lock Security updates 2023-10-23 19:08:56 -07:00
LICENSE.md Update our license 2023-10-23 19:04:56 -07:00
package.json
Procfile.dev
Rakefile
README
yarn.lock Add AppProvider to wardrobe-2020 2023-10-23 19:05:08 -07:00

An extension of Dress to Impress (PHP) that runs on Ruby on Rails.
I wanted to use Rails initially for Impress, but hoped that using
PHP would allow me to attract more developers. Looks like that
wasn't the case, so I just went with what I loved and made the
items database in Rails.

Future Impress sections will likely find themselves in this
project, rather than the PHP project.