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!

Authorization testing in Rails

https://minitestrails.com/guide/authorization-testing/

Chapter 13 of the free Minitest Rails guide is out now. Learn how to test Rails authorization with Minitest:

  • Test resource ownership
  • Test non-owner access
  • Test authorization with a small DIY custom check suitable for hobby projects
  • Test authorization with Action Policy gem, a perfect match for production apps

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