rubyforgood / homeward-tails

Homeward Tails 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
70 stars 117 forks source link

Create Org Service: Add creation of location #1155

Open kasugaijin opened 4 days ago

kasugaijin commented 4 days ago

In this service app/services/organizations/create_service.rb we need to also create the associated location for the organization within the transaction block.

Please add a test to verify it creates as expected.

When you then log in as the owner of that organization and go to /organization/edit you should see the location details.

Isaac3924 commented 2 days ago

I'd like to take this one, please!