I am building a site in rails (my first rails project) to track Events.
Each Event will have a list of guests. Like this:
Event has_many :guests
Guest belongs_to :event
I am trying to incorporate User authentication for this. Each user will
their own event. So when a user logs in, they see the event they have
and can CRUD the list of guests for that event.
I have gone through the Rails Recipe from Chad F.'s upcoming book
for Authentication and the following one for Role-based authentication.
However, I am still a little unclear as to how to implement my project
using these Recipes.
Can anybody give a quick rundown of how to accomplish this? Or maybe
just point me to info on a similar implementation?