aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing/routes_proxy.rb
Commit message (Collapse)AuthorAgeFilesLines
* Override `respond_to_missing?` instead of `respond_to?` when possibleSean Griffin2016-08-311-1/+1
| | | | | | | | | | This was almost every case where we are overriding `respond_to?` in a way that mirrors a parallel implementation of `method_missing`. There is one remaining case in Active Model that should probably do the same thing, but had a sufficiently strange implementation that I want to investigate it separately. Fixes #26333.
* applies new string literal convention in actionpack/libXavier Noria2016-08-061-1/+1
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Make the helpers a required argumentEvan Phoenix2015-02-191-2/+2
|
* Cache url_helpers instead of creating each timeEvan Phoenix2015-02-191-4/+5
| | | | | | | | | This has 2 effects: 1. RoutesProxy is CRAZY faster because it's no longer creating a new Module each time method_missing is hit. 2. It bypasses an existing bug in ruby that makes `class << obj` unsafe to be used in threading contexts.
* Missing or unneeded require extract_optionsAkira Matsuda2013-02-011-0/+2
|
* Override respond_to? since we are also overriding method_missing.José Valim2012-01-031-0/+4
|
* Move RoutesProxy to separate filePiotr Sarnacki2010-09-031-0/+35