rubyforgood / shelter-assist

Software to help foster-based animal rescues keep track of their animals and people.
14 stars 13 forks source link

Registration email gets sent after filling out the foster form #78

Open maggie-larkin opened 2 years ago

maggie-larkin commented 2 years ago

Notes

User Story

As a foster I want to have some confirmation that I did indeed sign up So that I'm not wondering whether I did right

Acceptance Criteria

GIVEN I am on the foster application page AND I've filled out all the required fields WHEN I click the submit button THEN I get an email to the email address I provided on the form in the field "email" AND the subject line is "thank you for applying" AND the body says "Dear Potential Foster, Thank you for your submission. Someone from our team will reach out to discuss your application. Sincerely, [Organization Name]" AND Organization name corresponds to which org the person signed up with

GreyhoundIt commented 2 years ago

I'm happy to have a look at this I am unsure where the org name will come from? I have looked at the schema and can't see it or any references to it?

chriszimmerman commented 2 years ago

I'm happy to have a look at this I am unsure where the org name will come from? I have looked at the schema and can't see it or any references to it?

Welcome Matthew!

One problem that we have not had a detailed discussion of how to address yet is multi-tenancy.

I believe plan for this application is to be able to support different animal fostering organizations. I think we'll need an Organizations table and some other tables may need to add a foreign key to an Organization.

I have not thought about this in detail personally and am open to ideas from others.