Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow boolean attributes to be referenced without operator in where.has #131

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jan 9, 2024

  1. Allow boolean attributes to be referenced without operator in where.has

    To explicitly allow all of:
    ```ruby
    Post.where.has { published }
    Post.where.has { published & (view_count >= 1) }
    Post.where.has { (view_count >= 1) & published }
    ```
    
    Fixes rzane#129
    owst committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    dac6245 View commit details
    Browse the repository at this point in the history