rubyforgood / pet-rescue

Pet Rescue is an application making it easy to link adopters/fosters with pets. We work with grassroots pet rescue organizations to understand how we can make the most impact.
MIT License
61 stars 105 forks source link

Foster epic: Create AdopterFosterAccount #449

Closed kasugaijin closed 6 months ago

kasugaijin commented 8 months ago

Blocked by https://github.com/rubyforgood/pet-rescue/issues/448

We differentiate user types in this app by associating User with either AdopterAccount or StaffAccount. We need to add a third user type FosterAccount.

To add the Foster we will rename the AdopterAccount to AdopterFosterAccount as well as its corresponding table and code references.

Acceptance criteria

ErinClaudio commented 8 months ago

I have started this but I will have follow-up questions.

https://github.com/rubyforgood/pet-rescue/pull/452

kasugaijin commented 8 months ago

@ErinClaudio for sure Note you'll want to wait for this issue https://github.com/rubyforgood/pet-rescue/issues/448 to be merged so we can add the association to the adopter_foster_profile on FosterAccount model.

github-actions[bot] commented 7 months ago

This issue is marked as stale due to no activity within 30 days. If no further activity is detected within 7 days, it will be unassigned.

kasugaijin commented 7 months ago

Draft PR in progress: https://github.com/rubyforgood/pet-rescue/pull/452

ErinClaudio commented 6 months ago

https://gist.github.com/ErinClaudio/372b5d6e6bb03b3d604ab934a8c563ac