Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Default relative_url_root to ENV["RAILS_RELATIVE_URL_ROOT"]. Fixes #3365 | Piotrek Okoński | 2011-12-12 | 1 | -2/+3 |
| | |||||
* | remove AM delegating register_observer and register_interceptor to Mail and ↵ | Josh Kalderimis | 2011-04-04 | 1 | -2/+6 |
| | | | | | | instead implement smarter versions allowing for string class names, also added proper Railtie support with tests. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Clean up asset_host and asset_path. | José Valim | 2010-12-09 | 1 | -2/+2 |
| | |||||
* | Provide a cleaner syntax for paths configuration that does not rely on ↵ | José Valim | 2010-10-06 | 1 | -3/+3 |
| | | | | method_missing. | ||||
* | Call it compile_methods! and do the same on AM. | José Valim | 2010-09-27 | 1 | -0/+10 |
| | |||||
* | Do not require passing :app to mounted helpers, it's actually useless and ↵ | Piotr Sarnacki | 2010-09-08 | 1 | -1/+1 |
| | | | | not DRY | ||||
* | Set only helpers_path on inherited hook in action_controller/railtie.rb and ↵ | Piotr Sarnacki | 2010-09-03 | 1 | -3/+6 |
| | | | | use helper(:all) just after that | ||||
* | Moved ActionMailer and ActionController railties options to inherited hook | Piotr Sarnacki | 2010-09-03 | 1 | -6/+3 |
| | | | | | | | | | | | This change is needed, because we must take namespace into account and if controller's/mailer's class is namespaced, engine's paths should be set instead of application's ones. The nice side effect of this is removing unneeded logic in ActionController::Base.inherited - now the helpers_path should be set correctly even for engine's controllers, so helper(:all) will always include correct helpers. | ||||
* | ActionMailer should not depend on ActionDispatch | Piotr Sarnacki | 2010-09-03 | 1 | -0/+1 |
| | |||||
* | Move ActionController::Railties::RoutesHelpers and ↵ | Piotr Sarnacki | 2010-09-03 | 1 | -2/+2 |
| | | | | ActionMailer::Railties::RoutesHelper to AbstractController::Railties::RoutesHelpers | ||||
* | Include routes helpers only for inherited classes in ActionMailer | Piotr Sarnacki | 2010-09-03 | 1 | -2/+1 |
| | |||||
* | Include application's helpers and router helpers by default, but include ↵ | Piotr Sarnacki | 2010-09-03 | 1 | -0/+2 |
| | | | | engine's ones for controllers inside isolated namespace | ||||
* | mounted helpers should be included in ActionMailer | Piotr Sarnacki | 2010-09-03 | 1 | -1/+2 |
| | |||||
* | Clean up AM and AC railties. | José Valim | 2010-07-24 | 1 | -11/+6 |
| | |||||
* | Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing ↵ | José Valim | 2010-06-24 | 1 | -3/+0 |
| | | | | frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved] | ||||
* | Extract assets paths and make them available to Action Mailer as well | David Heinemeier Hansson | 2010-06-02 | 1 | -0/+9 |
| | |||||
* | Remove the need for a special action_mailer.url_for initializer that loads ↵ | wycats | 2010-05-15 | 1 | -4/+2 |
| | | | | before anything else | ||||
* | Replace the placeholder base_hook API with on_load. To specify some code that | wycats | 2010-03-29 | 1 | -3/+3 |
| | | | | | | | | should run during framework load do: ActiveSupport.on_load(:action_controller) do # Code run in the context of AC::Base end | ||||
* | Move application configuration to the application configuration object, ↵ | José Valim | 2010-03-26 | 1 | -2/+2 |
| | | | | remove railtie_name and engine_name and allow to set the configuration object. | ||||
* | Make many parts of Rails lazy. In order to facilitate this, | wycats | 2010-03-07 | 1 | -4/+6 |
| | | | | | | | | | | | | 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 | ||||
* | Get the railties tests to pass again. | Carlhuda | 2010-03-02 | 1 | -5/+0 |
| | |||||
* | Moved initializers for ActionMailer and ActionController into their own railties | Carlhuda | 2010-03-02 | 1 | -0/+5 |
| | |||||
* | Rename named_url_helpers to url_helpers and url_helpers to url_for | Carlhuda | 2010-02-26 | 1 | -1/+1 |
| | |||||
* | Get Railties tests passing | Carlhuda | 2010-02-25 | 1 | -1/+1 |
| | |||||
* | Rename Rails::Subscriber to Rails::LogSubscriber | Prem Sichanugrist | 2010-02-16 | 1 | -2/+2 |
| | |||||
* | install ActionController::UrlFor before environment is parsed, to provide ↵ | Paul Rosania | 2010-02-05 | 1 | -5/+5 |
| | | | | | | ActionMailer#default_url_options= Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Rationalize railtie dependencies: AC uses AV; AR uses AMo; and Rails always ↵ | Jeremy Kemper | 2010-02-04 | 1 | -1/+1 |
| | | | | uses AS. | ||||
* | ActionMailer should depend just on AbstractController. | José Valim | 2010-01-29 | 1 | -0/+4 |
| | |||||
* | Add active_model/railtie back to generated boot.rb, add models back to ↵ | José Valim | 2010-01-25 | 1 | -5/+4 |
| | | | | paths, load active_support/railtie since we need it and ensure default logger is set before config. | ||||
* | Rename plugin_name to railtie_name and engine_name. | José Valim | 2010-01-24 | 1 | -1/+1 |
| | |||||
* | Moved more configuration away from bootstrap. | José Valim | 2010-01-22 | 1 | -5/+0 |
| | |||||
* | Add view paths to Engine setup. | José Valim | 2010-01-22 | 1 | -2/+1 |
| | |||||
* | Add subscriber to ActionMailer. | José Valim | 2010-01-14 | 1 | -0/+3 |
| | |||||
* | Some railties cleanup: | Carl Lerche | 2009-12-31 | 1 | -0/+25 |
* Rename <framework>/rails.rb -> <framework>/railtie.rb * Rails::Plugin -> Rails::Railtie * Rails::Plugin::Vendored -> Rails::Plugin |