aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/engine.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Update the documentation for Engine and Railtie.José Valim2010-04-051-4/+4
|
* Rename config.cookie_secret to config.secret_token and pass it as ↵José Valim2010-04-051-6/+2
| | | | configuration in request.env. This is another step forward removing global configuration.
* Replace the placeholder base_hook API with on_load. To specify some code thatwycats2010-03-291-2/+7
| | | | | | | | should run during framework load do: ActiveSupport.on_load(:action_controller) do # Code run in the context of AC::Base end
* Merge branch 'master' into docrailswycats2010-03-261-4/+4
|\
| * Move application configuration to the application configuration object, ↵José Valim2010-03-261-3/+3
| | | | | | | | remove railtie_name and engine_name and allow to set the configuration object.
| * Improve heuristic for railties default name, otherwise railties may be named ↵José Valim2010-03-261-1/+1
| | | | | | | | :railtie, :engine and so on.
| * init.rb in plugins is here to staywycats2010-03-231-7/+0
| |
| * Ensure lib/rails/initializers/*.rb also works for gems.José Valim2010-03-231-0/+7
| |
* | Merge remote branch 'mainstream/master'Pratik Naik2010-03-121-10/+13
|\| | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/base.rb railties/lib/rails/configuration.rb railties/lib/rails/log_subscriber.rb
| * Make many parts of Rails lazy. In order to facilitate this,wycats2010-03-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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
| * Add mailers to paths in case someone wants to access it directly and ensures ↵José Valim2010-03-061-1/+1
| | | | | | | | deep nesting works in controllers.
| * Don't rely on Rails.application global state in ConfigCarlhuda2010-03-031-1/+1
| |
| * Get the railties tests to pass again.Carlhuda2010-03-021-2/+2
| |
| * Fix unstated usage of PathnameJeremy Kemper2010-03-011-1/+2
| |
| * Remove implicit controller namespacing from new dslJoshua Peek2010-02-281-1/+2
| |
| * Revert "Revert "Application detection should also allow dots in the path.""Jeremy Kemper2010-02-271-1/+1
| | | | | | | | | | | | Works after all. Culprit was 226dfc2. This reverts commit 6189480b1878cdadb092fdfa32ba156a91e6a0e1.
| * Revert "Application detection should also allow dots in the path."Jeremy Kemper2010-02-271-1/+1
| | | | | | | | | | | | Ruby 1.9 regression. This reverts commit 76237f163ff7ad2a64af926030e3449c547cafa2.
| * plugin rails/init.rb deprecation messageJeremy Kemper2010-02-261-3/+3
| |
| * Application detection should also allow dots in the path.José Valim2010-02-261-1/+1
| |
| * Rename engines_load_path to railties_load_path.José Valim2010-02-201-1/+1
| |
| * Ensure config.after_initializer is executed before building the middleware ↵José Valim2010-02-181-0/+1
| | | | | | | | stack.
| * Fix called_from under Windows so engines works properlyAaron2010-02-181-1/+1
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | Merge remote branch 'mainstream/master'Pratik Naik2010-02-141-1/+5
|\| | | | | | | | | | | | | | | Conflicts: railties/README railties/guides/source/active_support_core_extensions.textile railties/guides/source/getting_started.textile railties/lib/generators/rails/app/templates/README
| * Take into account gem versions (so script/rails server can work outside the ↵José Valim2010-02-081-1/+1
| | | | | | | | application) and use Rails::Application.root instead of ROOT_PATH.
| * Add config.generators.templates to provide alternative paths for template ↵José Valim2010-02-061-0/+4
| | | | | | | | lookup.
* | Editing the railties/../railtie.rb and engine.rb docsMikel Lindsaar2010-02-081-4/+3
| |
* | Add docs for Railtie, Engine, Plugin and Application.José Valim2010-02-021-0/+84
|/
* Add reloadable specific for engines and move environment to application paths.José Valim2010-01-281-1/+1
| | | | Signed-off-by: Carl Lerche <carllerche@mac.com>
* Refactor MetalLoader and RoutesReloader to rely less on class configuration.José Valim2010-01-281-4/+4
| | | | Signed-off-by: Carl Lerche <carllerche@mac.com>
* Move Rails::Rack::Metal to Rails::Application::Metal and just add cascade if ↵José Valim2010-01-261-1/+1
| | | | any metal was declared.
* As first step setup the load path and lazy compare middlewares.José Valim2010-01-251-2/+2
|
* Fix i18n locales order test.José Valim2010-01-251-7/+9
|
* Ensure metals and initializers in plugins are loaded.José Valim2010-01-241-7/+11
|
* Rename plugin_name to railtie_name and engine_name.José Valim2010-01-241-0/+3
|
* Ensure namespaced controllers in engines work.José Valim2010-01-241-0/+10
|
* Solve some pendencies.José Valim2010-01-241-2/+2
|
* Move configuration to subfolders.José Valim2010-01-231-1/+3
|
* Create configurable modules and ensure that they are added only on direct ↵José Valim2010-01-231-23/+15
| | | | children.
* Plugin is now an Engine.José Valim2010-01-231-1/+10
|
* First steps into making Plugin < Engine.José Valim2010-01-231-10/+10
|
* Extract Railtie load from application.José Valim2010-01-231-6/+3
|
* Extract routes reloading responsibilities from application and load them ↵José Valim2010-01-231-4/+2
| | | | just upon a request.
* Ensure user set load paths have higher preference and move Bootstrap inside ↵José Valim2010-01-231-2/+2
| | | | Application.
* Get rid of initializers global and create i18n railtie.José Valim2010-01-231-30/+18
|
* Got tests working once again.José Valim2010-01-221-1/+3
|
* Add view paths to Engine setup.José Valim2010-01-221-16/+32
|
* Massive cleanup in Railties and load stack.José Valim2010-01-211-0/+107