Open stas opened 3 years ago
Any updates on this idea?
Was just trying to do this today.
@stas we really would like to have this. Is there anything we can do to make it happen? Happy to contribute. I actually know @mamhoff personally and we work on the same app :)
Also just ran into this
Dealing with this now, nice solution!
I'll have to make it backwards compatible, but definitely could have it released by next week. Ty ty for bringing it all up!
Checking in on this status as well. Any updates?
What is the current behavior?
ActiveRecord scopes can't be used in filters. This supersedes the #54
What is the new behavior?
You can use scopes for filtering as well, to enable scopes, use the option flags:
Assuming your model
User
has the following scope defined:This allows you to run queries like:
Checklist
Please make sure the following requirements are complete: