Authentication, Permissions and Roles in Rails with Devise, CanCan and Role Model November 7, 2012 in Development 9 Comments on this post. http://www.facebook.com/sean.doig Sean Doig I would have loved to read this but you need to sort out the HTML that’s growing in your code blocks. Danielle Miller Hey Sean! We went back in and fixed the code. For some reason there was some issues when we migrated this post over from our old blog site. Sorry for the confusion. Enjoy the article! http://www.gearcrm.com/ Brad Do you have any tips on how one could integrate omniauth into the stack for off-site login and registration? baburaj we can have 2 admin account for the site?If possible how to implement this using rails_admin gem.. Jenny @ Abundant.Life Thanks for this! Looks like just what I need. Jon Denly Thanks for posting this, it helped get me up and running quickly. Honza Vosmik Thanks for the article. Just one quick question, how can you let the new user to select his role/s. I am not sure how to implement it in a view(form). Thank you! developer How to write validation only for registrable of devise? puja how to tie this in the view? For example, how can i manage/set user x is tied to role admin, user y is set to role moderator, etc. Explanation on this will be greatly appreciated.