RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Namespaced Pundit Policies Without the Repetition Racket

Tired of repeating super([:namespace, record]) in every controller when using namespaced Pundit policies? This post shows how to wrap that logic in a reusable concern for cleaner, more maintainable Rails code. One line to include, no more bracket spam.

👉 Read the post

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in