'permitted_attributes' method collides with pundit
Created by: kuboon
if I include Pundit on my Administrate controller, it raises ArgumentError on create / update.
class ApplicationController < Administrate::ApplicationController
include Pundit
# ...
end
The problem is calling permitted_attributes
actually calls the method in Pundit.
https://github.com/elabs/pundit/blob/master/lib/pundit.rb#L248
What is a better way to avoid this collision rather than monkey-patching on either of gems?