Can you disable Pundit with Devise and Active Admin?
问题 I have an existing Rails app that has Devise / Pundit running on the User model. I have followed: How to get Active Admin to work with Pundit after login https://gist.github.com/tomchentw/8579571 I don't need authorization right now - Devise for authentication will do. Can I just "turn off" Pundit for Active Admin? UPDATE This is super monkey patch: after_action :verify_policy_scoped, only: [:index] if controller_path.split('/').first == "admin" It works but I don't think it's ideal. 回答1: