zendesk / volunteer_portal

An event calendar focused on tracking and reporting volunteering opportunities
https://zendesk.github.io/volunteer_portal/
Apache License 2.0
29 stars 9 forks source link

As a volunteer creating an individual event, I expect a new organization to be created if it doesn’t already exist #111

Open xuebingli opened 5 years ago

xuebingli commented 5 years ago

@danielbreves an organization requires presence of description and location, apart from name.

https://github.com/zendesk/volunteer_portal/blob/89e1896312b4170b8ff91b43d3117ba739034863/app/models/organization.rb#L5

On the Individual Event form, only name is provided.

Should we relax the presence check? Alternatives are welcome, too.

xuebingli commented 5 years ago

@danielbreves and should we make Organization uniquely identifiably by name?

danielbreves commented 5 years ago

Yea, I think it's ok to remove the presence check for description and location. It can always be added later.

danielbreves commented 5 years ago

should we make Organization uniquely identifiably by name

👍 for uniqueness validation