So, you've scaffolded the posts model and installed an attractive WordPress theme, time to get down to it. First thing we need to do is add some authentication. Eventually, users will be able to log in and post comments, but you should also be able to log in and make blog posts. For this, we'll generate a single User model with an is_blogger flag using the Devise plugin and then protect the actions we want protected using a before_filter.
Comments
No comments yet. Leave a Comment
