This gem allows you to filter and sort an ActiveRecord relation based on a request, following the JSON:API specification as closely as possible.
apply_filter
use the method all
to generate an ActiveRecord collection. (https://github.com/guillaumebriday/jsonapi-scopes/commit/33f5cede0cf66f630deb2f48af4cf99cc70b6f4e)apply_sort
has now optional params. (https://github.com/guillaumebriday/jsonapi-scopes/commit/2742292e937c7b5ba7c4c871d0ec0be21ac60799)attr_reader
on filters
. (https://github.com/guillaumebriday/jsonapi-scopes/commit/df2b14ec743ea33570bb6581dac79a71eb16abc7)