RubyFlow The Ruby and Rails community linklog

Authorization for rails Serializer

https://medium.com/@rudyyazdi/authorization-for-rails-serializer-8b7c77133f52

Explains the way you can customize your JSON responses based on the person who is viewing the object.

e.g. when someone is allowed to see a record but not all its attributes.

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