• C
    Show an "unmatched constraints" error for mismatching and present params · 0b32e2df
    Chris Carter 提交于
    Currently a misleading "missing required keys" error is thrown when a param
    fails to match the constraints of a particular route. This commit ensures that
    these params are recognised as unmatching rather than missing.
    
    Note: this means that a different error message will be provided between
    optimized and non-optimized path helpers, due to the fact that the former does
    not check constraints when matching routes.
    
    Fixes #26470.
    0b32e2df
formatter.rb 5.5 KB