You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue appears more to be a HOW-TO issue rather than a bug in Ransack. We are in the process of cleaning up the Ransack gem and repo. If this issue is still relevant could you please ask it on StackOverflow?
If you think it is an issue with Ransack, please provide a repo with the issue and / or a pull request with failing tests. If you don't know how to do this, indicate it in the issue and we will look into it eventually.
Hi,
I'd like to extract some of my scopes out of a model and load them dynamically where needed using ActiveRecord::QueryMethods#extending method.
So I'm defining a sample scope module:
and this is how it works:
but when I try to use it with ransack I get:
Is there a way to fix this or a workaround for keeping my models free of scoping responsibilities?
The text was updated successfully, but these errors were encountered: