diff options
author | Godfrey Chan <godfreykfc@gmail.com> | 2014-11-23 01:46:51 -0800 |
---|---|---|
committer | Godfrey Chan <godfreykfc@gmail.com> | 2014-11-23 01:46:51 -0800 |
commit | 23b21f6182e36c05c6b2a240c0fb824ae828465e (patch) | |
tree | 3f30ce54d3adfbb3642eb258de1eb9ace40cfd6a /activerecord/CHANGELOG.md | |
parent | 8e73abbda8d3a55459bac728530606fdf69468f5 (diff) | |
download | rails-23b21f6182e36c05c6b2a240c0fb824ae828465e.tar.gz rails-23b21f6182e36c05c6b2a240c0fb824ae828465e.tar.bz2 rails-23b21f6182e36c05c6b2a240c0fb824ae828465e.zip |
Don't show the warning if we're already raising the error anyway
If the route set is empty, or if none of the routes matches with a score > 0,
there is no point showing the deprecation message because we are already be
raising the `ActionController::UrlGenerationError` mentioned in the warning.
In this case it is the expected behavior and the user wouldn't have to take any
actions.
Diffstat (limited to 'activerecord/CHANGELOG.md')
0 files changed, 0 insertions, 0 deletions