Rails/Pundit ArgumentError (wrong number of arguments (2 for 0))
问题 I've been banging my head against this a day. I am trying to implement a pundit policy(using Devise for authentication) for a model called Design that belongs to a User which has many designs. Should create and new be excepted from authorize after action as well? It seems like this should work. Help much appreciated I keep running into ArgumentError (wrong number of arguments (2 for 0)): when creating a new design(where the 'debugger' is). I think that it is passing a valid @design into the