TheRandomCrew / Private-Events

Users can create events and send invitations and parties. Events take place at a specific date and at a location.
MIT License
2 stars 1 forks source link

The #create action should use the #build method of the association to create the new event #13

Closed raheebwa closed 4 years ago

raheebwa commented 4 years ago

The #create action should use the #build method of the association to create the new event with the user’s ID prepopulated. You could easily also just use Event’s ::new method and manually enter the ID but… don’t.