hensei-api/app/models
Justin Edmund 78b5b063fc
Deploy July Quality Update (#114)
* Remove print statements from data migration

* (Hotfix) Fix data migration failing due to nil

* Fix stale migration errors

* Ensure new characters have Awakenings

Every character starts with Balanced Lv1 awakening

* Ensure weapons without awakenings do not expose key

* Updates database seeds (#109)

* Destroy favorites when a party is deleted

* Allow users to delete parties with remixes (#111)

There was a bug that prevented users from deleting parties with remixes, because the source party reference was not being nulled.

We fixed that with `dependent: :nullify` but also added a boolean key to the parties database to track if a party is a remix or not. This way, if a party is flagged as a remix but the source party is null, we know that the original party was deleted and can message this on the frontend.

* Fix deleting grid summons (#112)

A bad decision to try to reduce code in `set` made this fail with a 422 because `summon_params` was being tested against but... didn't exist? was nil?

I fixed it by not using `set` before calling `destroy`, and just finding the summon in the `destroy` method itself

* Usernames in URLs should not be case-sensitive (#113)

Amateur hour mistake

* Change default filters in users controller
2023-07-04 00:40:06 -07:00
..
concerns
app_update.rb February 2023 Update (#48) 2023-02-04 23:46:12 -08:00
application_record.rb Run RuboCop on everything 2022-12-21 00:22:47 -08:00
awakening.rb June 2023 Update (#102) 2023-06-19 03:53:48 -07:00
character.rb June 2023 Update (#102) 2023-06-19 03:53:48 -07:00
favorite.rb Add all blueprints and associate with models 2022-12-21 03:31:55 -08:00
gacha.rb Update seeds and fix deletion bug (#110) 2023-06-23 20:34:08 -07:00
grid_character.rb (Hotfix) Fix awakening-related API errors (#108) 2023-06-21 01:10:05 -07:00
grid_summon.rb February 2023 Update (#48) 2023-02-04 23:46:12 -08:00
grid_weapon.rb June 2023 Update (#102) 2023-06-19 03:53:48 -07:00
guidebook.rb June 2023 Update (#102) 2023-06-19 03:53:48 -07:00
job.rb June 2023 Update (#102) 2023-06-19 03:53:48 -07:00
job_accessory.rb February 2023 Update (#48) 2023-02-04 23:46:12 -08:00
job_skill.rb June 2023 Update (#102) 2023-06-19 03:53:48 -07:00
party.rb Deploy July Quality Update (#114) 2023-07-04 00:40:06 -07:00
raid.rb June 2023 Update (#102) 2023-06-19 03:53:48 -07:00
raid_group.rb June 2023 Update (#102) 2023-06-19 03:53:48 -07:00
summon.rb June 2023 Update (#102) 2023-06-19 03:53:48 -07:00
user.rb Add all blueprints and associate with models 2022-12-21 03:31:55 -08:00
weapon.rb June 2023 Update (#102) 2023-06-19 03:53:48 -07:00
weapon_awakening.rb June 2023 Update (#102) 2023-06-19 03:53:48 -07:00
weapon_key.rb Add all blueprints and associate with models 2022-12-21 03:31:55 -08:00