This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 6fd41cca5c4189e7937307b707574e82802b4dea Mon Sep 17 00:00:00 2001 | |
From: Andrew White <[email protected]> | |
Date: Tue, 6 Jul 2010 15:32:47 +0100 | |
Subject: [PATCH] Move path prefix to controller requirement so that | |
recognition and generation of namespaced default routes work | |
[#5052 state:resolved] | |
--- | |
actionpack/lib/action_dispatch/routing/mapper.rb | 15 +++++++++++++-- | |
.../lib/action_dispatch/routing/route_set.rb | 6 ++---- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From c8cff4fe661791548f266671a06b36c24ca9e94b Mon Sep 17 00:00:00 2001 | |
From: Andrew White <[email protected]> | |
Date: Sun, 4 Jul 2010 17:35:34 +0100 | |
Subject: [PATCH] Fix syntax of routing tests so they actually run | |
--- | |
actionpack/test/dispatch/routing_test.rb | 30 ++++++++++++++++++------------ | |
1 files changed, 18 insertions(+), 12 deletions(-) | |
diff --git a/actionpack/test/dispatch/routing_test.rb b/actionpack/test/dispatch/routing_test.rb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 7ab3de7ad7765b31a24f366bf2338128a3912b24 Mon Sep 17 00:00:00 2001 | |
From: Andrew White <[email protected]> | |
Date: Sun, 4 Jul 2010 06:52:52 +0100 | |
Subject: [PATCH] Refactor resource options and scoping. Resource classes are now | |
only responsible for controlling how they are named. All other | |
options passed to resources are pushed out to the scope. | |
--- | |
actionpack/lib/action_dispatch/routing/mapper.rb | 163 +++++++++------------- | |
actionpack/test/dispatch/routing_test.rb | 83 +++++++++++- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 093539dae2b6ca22d34640db414d7f8ee2272f53 Mon Sep 17 00:00:00 2001 | |
From: Andrew White <[email protected]> | |
Date: Sun, 4 Jul 2010 06:52:52 +0100 | |
Subject: [PATCH] Refactor resource options and scoping. Resource classes are now | |
only responsible for controlling how they are named. All other | |
options passed to resources are pushed out to the scope. | |
--- | |
actionpack/lib/action_dispatch/routing/mapper.rb | 171 +++++++++------------- | |
actionpack/test/dispatch/routing_test.rb | 4 +- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From b6975e132d1cb4806c16bfa987e6c8c67ee23ab2 Mon Sep 17 00:00:00 2001 | |
From: Andrew White <[email protected]> | |
Date: Sat, 3 Jul 2010 08:14:17 +0100 | |
Subject: [PATCH] Refactor recall parameter normalization [#5021 state:resolved] | |
--- | |
.../lib/action_dispatch/routing/route_set.rb | 22 ++++----------- | |
actionpack/test/template/url_helper_test.rb | 29 ++++++++++++++++++- | |
2 files changed, 33 insertions(+), 18 deletions(-) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 3111fc9b26e64370b2216e7690d6542de8206db7 Mon Sep 17 00:00:00 2001 | |
From: Andrew White <[email protected]> | |
Date: Thu, 18 Mar 2010 16:49:23 +0000 | |
Subject: [PATCH] Add column and index query methods to ActiveRecord::Schema | |
--- | |
.../abstract/schema_definitions.rb | 10 ++ | |
.../abstract/schema_statements.rb | 57 ++++++++++- | |
.../test/cases/active_schema_test_mysql.rb | 6 +- | |
activerecord/test/cases/migration_test.rb | 108 +++++++++++++++++++- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rails 3.0.0b4 - 1.8.7 | |
user system total real | |
#1 19.660000 0.120000 19.780000 ( 19.837813) | |
# Rails 3.0.0b4 - 1.9.2 | |
user system total real | |
#1 11.560000 0.110000 11.670000 ( 11.654350) | |
# Modifed RACC - 1.8.7 | |
user system total real |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Profile of hand optimized ragel generated compiler on 1.8.7 | |
Using the ruby-prof extension. | |
Thread ID: 2148403500 | |
Total: 25.718855 | |
%self total self wait child calls name | |
15.03 11.38 3.86 0.00 7.52 7130 Rack::Mount::StrexpParser#compile | |
10.95 4.65 2.82 0.00 1.84 331150 Kernel#loop | |
4.39 1.13 1.13 0.00 0.00 5086080 Array#[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Using ActionDispatch::Routing::Mapper | |
andyw$ rails benchmarker 10 'Rails::Application.reload_routes!' | |
user system total real | |
#1 20.040000 0.180000 20.220000 ( 20.254536) | |
# Using ActionDispatch::Routing::DeprecatedMapper | |
andyw$ rails benchmarker 10 'Rails::Application.reload_routes!' | |
user system total real | |
#1 21.380000 0.190000 21.570000 ( 21.599967) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rails profiler 'Rails::Application.reload_routes!' 10 flat | |
Using the ruby-prof extension. | |
Thread ID: 2148403500 | |
Total: 27.237074 | |
%self total self wait child calls name | |
24.69 6.74 6.73 0.00 0.01 152830 Rack::Mount::StrexpParser#action | |
7.75 9.58 2.11 0.00 7.47 159960 Rack::Mount::StrexpParser#next_token | |
3.65 3.64 0.99 0.00 2.65 84460 Array#each(d2) | |
3.16 16.07 0.86 0.00 15.21 83280 Array#each(d1) |