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
Viktar Basharymau 8ee785a17f Replace x.sort_by!.select! with x.select!.sort_by!
The latter has the same speed as the former in the worst case
and faster in general, because it is always better to sort less items.

Unfortunately, `routes.select!{...}.sort_by!{...}` is not possible here
because `select!` returns `nil`, so select! and sort! must be done
in two steps.
2014-06-20 17:16:11 +03:00
..
http add both branches to the only_path conditional 2014-06-19 14:19:44 -07:00
journey Replace x.sort_by!.select! with x.select!.sort_by! 2014-06-20 17:16:11 +03:00
middleware [ci skip] Fix capitalization 2014-06-07 14:23:27 +05:30
request Log which keys were set to nil in deep_munge 2014-01-28 20:29:38 +01:00
routing Remove unused param 'separators' from RouteSet#build_path 2014-06-15 22:01:34 +03:00
testing Remove unused parameter. 2014-06-15 10:36:46 -07:00
journey.rb Integrate Journey into Action Dispatch 2012-12-19 22:13:08 +00:00
railtie.rb Add configuration option to optionally disable deep_munge 2013-12-05 12:08:34 +01:00
routing.rb Add missing requires for require 'action_dispatch/routing' 2014-05-15 06:03:23 +01:00