Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fully initialize routes before the first request is handled | Jean Boussier | 2017-01-18 | 1 | -1/+16 |
| | | | | | | | | | | | | `AD::Journey::GTG::Simulator` is lazily built the first time `Journey::Router#find_routes` is invoked, which happens when the first request is served. On large applications with many routes, building the simulator can take several hundred milliseconds (~700ms for us). Triggering this initialization during the boot process reduces the impact of deploys on the application response time. | ||||
* | Pass symbol as an argument instead of a block | Erik Michaels-Ober | 2014-11-29 | 1 | -3/+1 |
| | |||||
* | Use Ruby 1.9 Hash syntax in railties | Robin Dupret | 2012-10-14 | 1 | -1/+1 |
| | |||||
* | Revert "Allow loading external route files from the router" | José Valim | 2012-06-29 | 1 | -9/+4 |
| | | | | | | | | | | | | | | This reverts commit 6acebb38bc0637bc05c19d87f8767f16ce79189b. Usage of this feature did not reveal any improvement in existing apps. Conflicts: actionpack/lib/action_dispatch/routing/mapper.rb guides/source/routing.textile railties/lib/rails/engine.rb railties/lib/rails/paths.rb railties/test/paths_test.rb | ||||
* | Refactor RoutesReloader a bit to avoid creating extra hash objects | Carlos Antonio da Silva | 2012-04-28 | 1 | -3/+2 |
| | |||||
* | Routes reloader knows how to reload external files | Yehuda Katz | 2012-04-25 | 1 | -4/+10 |
| | |||||
* | We should finalize the routes as soon as possible and not wait for the ↵ | José Valim | 2012-01-06 | 1 | -1/+1 |
| | | | | controller to be loaded. | ||||
* | FileUpdateChecker should be able to handle deleted files. | José Valim | 2011-12-13 | 1 | -4/+11 |
| | |||||
* | Clean up FileUpdateChecker API. | José Valim | 2011-12-13 | 1 | -4/+4 |
| | |||||
* | Speed up development by only reloading classes if dependencies files changed. | José Valim | 2011-12-12 | 1 | -8/+4 |
| | | | | | | | | This can be turned off by setting `config.reload_classes_only_on_change` to false. Extensions like Active Record should add their respective files like db/schema.rb and db/structure.sql to `config.watchable_files` if they want their changes to affect classes reloading. Thanks to https://github.com/paneq/active_reload and Pastorino for the inspiration. <3 | ||||
* | Composition > inheritance. | José Valim | 2011-12-12 | 1 | -3/+11 |
| | |||||
* | Refactored routes reloading to use RouteSet#append instead keeping block in ↵ | Piotr Sarnacki | 2010-10-08 | 1 | -18/+6 |
| | | | | | | Engine Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | reload_routes! is part of the public API and should not be removed. | José Valim | 2010-10-02 | 1 | -2/+4 |
| | |||||
* | Moved Rails::RoutesReloader to Rails::Application::RoutesReloader | Piotr Sarnacki | 2010-09-30 | 1 | -0/+55 |
| | |||||
* | Use the new ActiveSupport::FileUpdateChecker instead of RoutesReloader. | José Valim | 2010-06-20 | 1 | -46/+0 |
| | |||||
* | Replace the placeholder base_hook API with on_load. To specify some code that | wycats | 2010-03-29 | 1 | -1/+1 |
| | | | | | | | | should run during framework load do: ActiveSupport.on_load(:action_controller) do # Code run in the context of AC::Base end | ||||
* | Make many parts of Rails lazy. In order to facilitate this, | wycats | 2010-03-07 | 1 | -1/+1 |
| | | | | | | | | | | | | add lazy_load_hooks.rb, which allows us to declare code that should be run at some later time. For instance, this allows us to defer requiring ActiveRecord::Base at boot time purely to apply configuration. Instead, we register a hook that should apply configuration once ActiveRecord::Base is loaded. With these changes, brings down total boot time of a new app to 300ms in production and 400ms in dev. TODO: rename base_hook | ||||
* | Refactor MetalLoader and RoutesReloader to rely less on class configuration. | José Valim | 2010-01-28 | 1 | -8/+5 |
| | | | | Signed-off-by: Carl Lerche <carllerche@mac.com> | ||||
* | Ensure metals and initializers in plugins are loaded. | José Valim | 2010-01-24 | 1 | -7/+7 |
| | |||||
* | Solve some pendencies. | José Valim | 2010-01-24 | 1 | -7/+6 |
| | |||||
* | Extract Railtie load from application. | José Valim | 2010-01-23 | 1 | -5/+9 |
| | |||||
* | Extract routes reloading responsibilities from application and load them ↵ | José Valim | 2010-01-23 | 1 | -0/+46 |
just upon a request. |