• Peter Leitzen's avatar
    Respect finder's filter in FinderMethods#find · a8d156e5
    Peter Leitzen authored
    Rails' `#find_by!(id: id)` and `find(id)` behave the same.
    
    This wasn't true for FinderMethods#find_by! and FinderMethods#find
    since the latter did not `execute` the complete query ignoring potential
    filters.
    
    No user-facing changes expected.
    a8d156e5
finder_methods_spec.rb 3.69 KB