Closed joelzwarrington closed 11 months ago
That sounds nice. I don't personally use the generators, but I'm sure the reduced friction would be appreciated by those who do!
I'm sure the details are in here somewhere: https://guides.rubyonrails.org/generators.html
This looks like a duplicate of https://github.com/varvet/pundit/issues/735 😊
… so I'm closing this in favour of moving the topic there instead!
I feel GitHub is rather dismissive with "closed this as not planned" which is not really true, it just falls under the umbrella of "duplicate" 😅
I would like pundit policies to be generated when I run Rails generators such as
scaffold
andmodel
, instead of having to runrails generate pundit:policy post
seperately.I wouldn't mind working on something like this, just want to see if there's appetite for it!