Skip to content

warning to install ransack polute logs #84

@gagalago

Description

@gagalago

Expected Behavior

no log about ransack if we don't use filtering and don't have ransack installed

Actual Behavior

we have a warning when this file is loaded by jsonapi.rb gem

Steps to Reproduce the Problem

  1. start the app without ransack gem installed
  2. look at logs

Proposition of solution

One way to fix this is to not load this file on the gem and let the user loading it when they need it (as already explained in the readme). That will need to bump the major version of the gem but should not affect people that already followed the readme.

What do you think? do you see another way to fix it? it's not a bug but a feature and you prefer to keep it as is?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions