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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.