Table of Content
What’s more in using devise gem? Check their wiki.
Want admin? You can
rails generate devise AdminUser to create an Admin user.
Want more access control? I would suggest to use cancan gem together with the devise gem.
Want private albums/photos? Add a attribute to albums and photos to indicate it is private. Then ignore public/private photos when list them in index.
What’s next? We’re going to take a look at “Ruby on Rails 101 – Chapter 7”.