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

Fix different count calculation when using size with DISTINCT select #35361

Merged

Commits on Feb 26, 2019

  1. fixes different count calculation when using size manual select

    … with DISTINCT
    
    When using `select` with `'DISTINCT( ... )'` if you use method `size` on a non loaded relation it overrides the column selected by passing `:all` so it returns different value than count.
    
    This fixes rails#35214
    jvillarejo committed Feb 26, 2019
    Configuration menu
    Copy the full SHA
    fa2c61f View commit details
    Browse the repository at this point in the history