diff options
author | Xavier Noria <fxn@hashref.com> | 2016-10-27 09:13:38 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2016-10-27 09:13:55 +0200 |
commit | 56832e791f3ec3e586cf049c6408c7a183fdd3a1 (patch) | |
tree | 6dcbbf04047cf7b7bbcdaf83410c6b872b1d3928 /actionpack/lib/action_dispatch | |
parent | b27a08735c90116d788cd87441205fba663ce6c3 (diff) | |
download | rails-56832e791f3ec3e586cf049c6408c7a183fdd3a1.tar.gz rails-56832e791f3ec3e586cf049c6408c7a183fdd3a1.tar.bz2 rails-56832e791f3ec3e586cf049c6408c7a183fdd3a1.zip |
let Regexp#match? be globally available
Regexp#match? should be considered to be part of the Ruby core library. We are
emulating it for < 2.4, but not having to require the extension is part of the
illusion of the emulation.
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/mapper.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index c481c190bf..c412484895 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -1,7 +1,6 @@ require "active_support/core_ext/hash/slice" require "active_support/core_ext/enumerable" require "active_support/core_ext/array/extract_options" -require "active_support/core_ext/regexp" require "action_dispatch/routing/redirection" require "action_dispatch/routing/endpoint" |