Skip to content
This repository

Aug 09, 2010

  1. Yehuda Katz

    Improve best_standards_support to use only IE=Edge in development mode

    authored August 09, 2010

Jul 28, 2010

  1. Yehuda Katz

    Add a header that tells Internet Explorer (all versions) to use the b…

    …est available standards support. This ensures that IE doesn't go into quirks mode because it has been blacklisted by too many users pressing the incompatible button. It also tells IE to use the ChromeFrame renderer, if the user has installed the plugin.
    This guarantees that the best available standards support will be used on the client.
    authored July 27, 2010

Jul 18, 2010

  1. José Valim

    Add console hook to force ActiveRecord::Base to be loaded when consol…

    …e starts avoiding reference loops.
    authored July 17, 2010

Jul 02, 2010

  1. José Valim

    reload_routes! was still referencing old Rails::Application.

    authored July 02, 2010

Jul 01, 2010

  1. José Valim

    Avoid calls to Rails::Application since this is not the official API.

    Your application should *always* reference your application const (as Blog::Application) and Rails.application should be used just internally.
    authored July 01, 2010

Jun 27, 2010

  1. José Valim

    A few changes were done in this commit:

    * Added :autoload to engines path API and redefine usage to be in sync with 6f83a50;
    * Do not autoload code in *lib* for applications (now you need to explicitly require them). This makes an application behave closer to an engine (code in lib is still autoloaded for plugins);
    * Always autoload code in app/ for engines and plugins. This makes engines behave closer to an application and should allow us to get rid of the unloadable hack required when controllers inside engines inherit from ApplicationController;
    authored June 28, 2010

Jun 24, 2010

  1. Jeremy Kemper

    Move Collection responsibility from application to initializable

    authored June 24, 2010
  2. Jeremy Kemper

    Speed up boot by tsorting as infrequently as possible

    authored June 24, 2010

Jun 23, 2010

  1. Xavier Noria

    renames load_(once_)paths to autoload_(once_)paths in dependencies an…

    …d config
    authored June 22, 2010

Jun 20, 2010

  1. José Valim

    Alias app to build_middleware_stack for clarity.

    authored June 21, 2010
  2. José Valim

    Use the new ActiveSupport::FileUpdateChecker instead of RoutesReloader.

    authored June 20, 2010
  3. José Valim

    Improve documentation for add_lib_to_load_paths!

    authored June 20, 2010

Jun 01, 2010

  1. José Valim

    Add lib to load paths when application is inherited to be able to loa…

    …d lib code during configuration.
    authored June 02, 2010

May 29, 2010

  1. José Valim

    Remove the laziness from the middleware stack.

  2. Yehuda Katz

    Removing Metal from Rails 3.

    If you have existing Metals, you have a few options:
    * if your metal behaves like a middleware, add it to the
      middleware stack via config.middleware.use. You can use
      methods on the middleware stack to control exactly where
      it should go
    * if it behaves like a Rack endpoint, you can link to it
      in the router. This will result in more optimal routing
      time, and allows you to remove code in your endpoint
      that matches specific URLs in favor of the more powerful
      handling in the router itself.
    For the future, you can use ActionController::Metal to get
    a very fast controller with the ability to opt-in to specific
    controller features without paying the penalty of the full
    controller stack.
    Since Rails 3 is closer to Rack, the Metal abstraction is
    no longer needed.
    authored May 29, 2010

May 15, 2010

  1. José Valim

    Expose remaining hooks to minimize the need for a Railtie based on fe…

    …edback from plugin developers.
    authored May 16, 2010
  2. Yehuda Katz

    Reorganized initializers a bit to enable better hooks for common case…

    …s without the need for Railtie. Specifically, the following hooks were added:
    * before_configuration: this hook is run immediately after the Application class 
      comes into existence, but before the user has added any configuration. This is
      the appropriate place to set configuration for your plugin
    * before_initialize: This is run after all of the user's configuration has completed,
      but before any initializers have begun (in other words, it runs right after
    * after_initialize: This is run after all of the initializers have run. It is an
      appropriate place for forking in a preforking setup
    Each of these hooks may be used via ActiveSupport.on_load(name) { }. In all these cases, the context inside the block will be the Application object. This means that for simple cases, you can use these hooks without needing to create a Railtie.
    authored May 15, 2010

Apr 29, 2010

  1. José Valim

    The rake task :environment now loads config/environment.rb instead of…

    … initializing the application on its own. This fixes [#4492 state:resolved] and also avoids the application being initialized twice in some rake tasks.
    authored April 29, 2010

Apr 26, 2010

  1. José Valim

    Ensure application rake tasks and generators are loaded after the one…

    …s specified in railties/engines/rails. [#4471 state:resolved]
    authored April 26, 2010

Apr 05, 2010

  1. José Valim

    Rename config.cookie_secret to config.secret_token and pass it as con…

    …figuration in request.env. This is another step forward removing global configuration.
    authored April 05, 2010

Mar 26, 2010

  1. Yehuda Katz

    Merge branch 'master' into docrails

    authored March 26, 2010
  2. José Valim

    Move application configuration to the application configuration objec…

    …t, remove railtie_name and engine_name and allow to set the configuration object.
    authored March 26, 2010

Mar 20, 2010

  1. Joshua Peek

    Move railties/builtin into lib

    authored March 20, 2010

Mar 12, 2010

  1. Pratik

    Merge remote branch 'mainstream/master'

    authored March 12, 2010

Mar 08, 2010

  1. Yehuda Katz

    Aliasing class_eval makes JRuby ornery.

    authored March 07, 2010

Mar 03, 2010

  1. Don't rely on Rails.application global state in Config

    authored March 03, 2010

Feb 26, 2010

  1. Get Railties tests passing

    authored February 24, 2010

Feb 21, 2010

  1. Martin Schürrer

    Use ActionDispatch::Routing everywhere

    authored February 21, 2010 Yehuda Katz committed February 21, 2010
  2. Martin Schürrer


    authored February 21, 2010 Yehuda Katz committed February 21, 2010

Feb 02, 2010

  1. José Valim

    Add docs for Railtie, Engine, Plugin and Application.

    authored February 02, 2010

Jan 28, 2010

  1. José Valim

    Add more tests to some key points in Railties.

    Signed-off-by: Carl Lerche <>
    authored January 27, 2010 Carl Lerche committed January 28, 2010
  2. José Valim

    Refactor MetalLoader and RoutesReloader to rely less on class configu…

    Signed-off-by: Carl Lerche <>
    authored January 27, 2010 Carl Lerche committed January 28, 2010

Jan 26, 2010

  1. José Valim

    Move Rails::Rack::Metal to Rails::Application::Metal and just add cas…

    …cade if any metal was declared.
    authored January 26, 2010
  2. José Valim

    Add tests for explicit engines.

    authored January 26, 2010
  3. José Valim

    Ensure calling a method in Rails::Application does not instantiate a …

    …void application.
    authored January 26, 2010
Something went wrong with that request. Please try again.