1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib/action_dispatch/journey
Chris Carter 0b32e2dff3 Show an "unmatched constraints" error for mismatching and present params
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.
2016-10-03 09:52:14 +01:00
..
gtg applies new string literal convention in actionpack/lib 2016-08-06 18:51:43 +02:00
nfa Fix broken heredoc indentation caused by rubocop auto-correct 2016-09-03 13:28:46 +09:00
nodes applies new string literal convention in actionpack/lib 2016-08-06 18:51:43 +02:00
path applies remaining conventions across the project 2016-08-06 20:20:22 +02:00
router Add three new rubocop rules 2016-08-16 04:30:11 -03:00
visualizer CSS fix for the router visualizer 2014-11-25 18:46:01 +01:00
formatter.rb Show an "unmatched constraints" error for mismatching and present params 2016-10-03 09:52:14 +01:00
parser.rb Fix broken comments indentation caused by rubocop auto-correct [ci skip] 2016-09-14 18:26:32 +09:00
parser.y Using no_result_var in Journey's parser generator 2014-08-03 15:23:56 -07:00
parser_extras.rb applies new string literal convention in actionpack/lib 2016-08-06 18:51:43 +02:00
route.rb applies remaining conventions across the project 2016-08-06 20:20:22 +02:00
router.rb Merge pull request #26156 from sfaxon/route_visualizer_fix 2016-08-16 05:16:08 -03:00
routes.rb move route allocation to a factory method on the mapping object 2015-08-15 14:34:37 -07:00
scanner.rb applies new string literal convention in actionpack/lib 2016-08-06 18:51:43 +02:00
visitors.rb applies remaining conventions across the project 2016-08-06 20:20:22 +02:00