• R
    Scope in associations should treat nil as `all` · 925e6d56
    Ryuta Kamizono 提交于
    Defined scope treats nil as `all`, but scope in associations isn't so.
    If the result of the scope is nil, most features on associations will be
    broken. It should treat nil as `all` like defined scope.
    
    Fixes #20823.
    925e6d56
association.rb 3.9 KB