Emi Matchu
d66f81c96b
This hasn't worked for a while anyway! Let's remove the bits of code where we deal with it, and the database field that signals it. (We also make a corresponding change in Impress 2020, so it doesn't crash trying to query based on the `prank` column.) I also ran this snippet to clear out all the Nebula stuff in the db: ```rb Color.transaction do nebula = Color.where(prank: true).find_by_name("Nebula") nebula.pet_types.includes(pet_states: :swf_assets).each do |pet_type| pet_type.pet_states.each do |pet_state| pet_state.parent_swf_asset_relationships.each do |psa| psa.swf_asset.destroy! psa.destroy! end pet_state.destroy! end pet_type.destroy! end nebula.destroy! end ``` |
||
---|---|---|
.. | ||
devise | ||
fundraising | ||
about_controller.rb | ||
alt_styles_controller.rb | ||
application_controller.rb | ||
auth_users_controller.rb | ||
closet_hangers_controller.rb | ||
closet_lists_controller.rb | ||
contributions_controller.rb | ||
item_appearances_controller.rb | ||
item_trades_controller.rb | ||
items_controller.rb | ||
locales_controller.rb | ||
neopass_connections_controller.rb | ||
neopets_connections_controller.rb | ||
neopets_page_import_tasks_controller.rb | ||
outfits_controller.rb | ||
pet_types_controller.rb | ||
pets_controller.rb | ||
sitemap_controller.rb | ||
swf_assets_controller.rb | ||
users_controller.rb |