San Francisco
November 11, 2014

Authorization with Pundit

Pundit is a great gem for authorization. We'll build on a previous lesson and make a simple app that uses Devise for authentication and Pundit for authorization.

Authorization means controlling what users are allowed to do what actions, and it's an important part of many Rails applications. In the past the CanCan gem was commonly used for this. We'll explore Pundit, a new-ish gem that takes a different approach.

This class will build on a previous lesson where we set up the Devise gem to handle authentication. We'll extend that work and combine Devise's authentication abilities with Pundit's authorization.

Students should have a Ruby on Rails development environment installed and ready to go (here is a guide), and be familiar with the concepts of user authentication and authorization. To get the most out of this class you should be familiar with Ruby on Rails, MVC application architecture, and the Devise, Pundit, and CanCan gems.

If there is interest I'll broadcast a google hangout, check out the whiteboard at class time for a link.



7pm Pacific - 9pm Pacific on November 11, 2014 at Noisebridge
10 students were there

Whiteboard

Please, sign in to see the Whiteboard