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 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