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 Add the Pardon Our Dust page 2023-10-23 19:05:09 -07:00
app Stop orphaning hangers when deleting lists 2023-10-24 15:35:21 -07:00
autotest rspec:install 2010-05-14 18:17:10 -04:00
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 Move comment in setup.yml 2023-10-23 19:05:09 -07:00
doc rails 3 2010-05-14 18:12:31 -04:00
lib Fix AMFPHP requests 2023-10-23 19:05:09 -07:00
public Stop saving local copies of SWFs 2023-10-23 19:05:10 -07:00
script rails 3 2010-05-14 18:12:31 -04:00
spec Delete WardrobeTip model 2023-10-23 19:05:05 -07:00
test core of pet loading, still needs get image hash, download assets 2010-10-07 10:46:23 -04:00
tmp utf-8 support in both ruby 1.9 and 1.8 2011-06-04 18:40:15 -04:00
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 Upgrade to Ruby 3.1.4 2023-10-23 19:05:07 -07:00
config.ru Upgrade to Rails 6.1.7.4 2023-10-23 19:05:07 -07:00
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 Fix precompile error by removing unneeded minify 2023-10-23 19:05:09 -07:00
Procfile.dev Bundle wardrobe-2020 into the app 2023-10-23 19:05:08 -07:00
Rakefile Uninstall resque 2023-10-23 19:05:04 -07:00
README replace standard rails readme :P 2010-07-07 02:31:47 -04:00
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.