Skip to content

filtering by (ransack) scopes does not work #42

Open
@fluxsaas

Description

@fluxsaas

Expected Behavior

filtering by scopes should work with jsonapi.rb and ransack, see: https://github.com/activerecord-hackery/ransack#using-scopesclass-methods

Actual Behavior

it seems not to work properly, only filtering by allowed attributes works.

i created a branch and added failing tests:

master...easyPEP:feature/ransack-scopes

i would like to start working on a solution to make it work. do you have any specific recommendations?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions