Chapter 7. 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 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 6, download the zip file from http://github.com/downloads/ccjr/blog/chapter07.zip
and extract it on your computer.
Generating ...
Get Beginning Rails 3 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.