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
57 stars 95 forks source link

Bug Fix #852

Closed kasugaijin closed 1 month ago

kasugaijin commented 1 month ago

🔗 Issue

N/A

✍️ Description

Playing in the dev environment I noted that we were getting a translation error after submitting an application on a pet. Calling send on the status enum value was returning an error because it is not a method. We need to pass the status symbol rather than value to this method for it to work.

To reproduce, on main branch, log in as an adopter and apply to adopt a pet. You should see: image