• New gem for OO authorization focused on APIs

    From Marcos Rodrigues@21:1/5 to All on Fri Jul 1 06:40:58 2016
    know_it_all (https://github.com/mrodrigues/know_it_all) is a new gem for authorization, heavily inspired on Pundit (https://github.com/elabs/pundit), that makes it easier to display errors through the API. It is also more flexible in the arguments it
    receives, as it understands that certain actions’ authorizations depend on several factors.

    The motivation to create this solution was trying to provide better feedback for a mobile developer who was consuming an API I maintain. Under complex situations, it is useless to respond a simple 403 Forbidden without more descriptive error messages.
    Hence I started modifying Pundit to adequate my new requirements, but its structural pattern makes it incompatible with what I needed, so I wrote this small gem.

    I hope it's useful to you guys as it is to me! :)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)