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
55 stars 91 forks source link

Merge OrganizationProfile into Organization #848

Closed kasugaijin closed 4 days ago

kasugaijin commented 1 month ago

Merge OrganizationProfile into Organization. This will require a refactor of models, controllers, views, policies, tests and tables to update the names and method names used.

We also want to delete the Organization Profiles table, and add the attributes to the Organizations table (donation_url, email, facebook_url, instagram_url, phone_number) and the applicable model logic for each.

In doing so, we also need to change the association with the Location model; an Organization should have_many locations, and a Location should belong_to an Organization (foreign key).

Ask any questions below!

sarvaiyanidhi commented 2 weeks ago

Hi @kasugaijin I can take up this issue. Can you please assign it to me? Thanks

kasugaijin commented 2 weeks ago

@sarvaiyanidhi all yours