In our last post, we ended with very basic authentication working. However, we are faking out the events_path in our sign_in spec, which is where we’ll start. A successful sign-in redirects to the user events page which, presumably, has a list of the events owned by that user. Let’s go back to Mockbuilder and crank out a layout for our events page.

View original post here:
RubySource: Rails Deep Dive: Loccasions, Spork, Events and Authorization

Glenn Goodrich Glenn Goodrich Ruby Editor
Glenn works for Skookum Digital Works by day and manages the SitePoint Ruby channel at night. He likes to pretend he has a secret identity, but can't come up with a good superhero name. He's settling for "Roob", for now.

No Reader comments

Related books & courses
Available now on SitePoint Premium

Preview for $1