Advanced Action Pack

Now that you have a very good understanding of how the components of Action Pack work, it’s time to dig a little deeper. You start by generating the user controller from scratch, writing its actions, and creating its templates. Then you’ll add some functionality to the blog application: you allow users to leave comments when reading an article and make sure only logged-in users have access to adding and editing content. Finally, you give your application some styling so it looks better and more like a real application.

 Note   If you need to get the code at the exact point where you finished Chapter 7, download ...

Get Beginning Rails 4, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.