Skip to content
This repository

Aug 21, 2010

  1. Jeremy Kemper

    Revert "Just add connection management middleware if running in a con…

    …current environment."
    This reverts commit 6b29dc8.
    authored August 20, 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 12, 2010

  1. José Valim

    Just add connection management middleware if running in a concurrent …

    authored July 12, 2010

Jun 24, 2010

  1. José Valim

    Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing f…

    …rameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved]
    authored June 24, 2010

Jun 20, 2010

  1. Xavier Noria

    Merge remote branch 'rails/master'

    authored June 20, 2010

Jun 19, 2010

  1. José Valim

    Clear DescendantsTracker on each request.

    authored June 19, 2010

Jun 16, 2010

  1. Rizwan Reza

    Adds basic description and title.

    authored June 16, 2010

May 15, 2010

  1. 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

    ActiveRecord middlewares should be inserted before AD::Cascade [#4493

    authored April 29, 2010

Apr 20, 2010

  1. José Valim

    Move observers initialization to after_config blocks, they are still …

    …being initialized to early (before load paths are being set).
    authored April 20, 2010

Apr 15, 2010

  1. Michael Koziarski

    Split the observer railtie into two phases.

    Observers observing models with scopes defined will require the connection to be established.
    authored April 16, 2010

Mar 30, 2010

  1. Yehuda Katz

    Replace the placeholder base_hook API with on_load. To specify some c…

    …ode that
    should run during framework load do:
    ActiveSupport.on_load(:action_controller) do
      # Code run in the context of AC::Base
    authored March 29, 2010

Mar 26, 2010

  1. 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 07, 2010

  1. Yehuda Katz

    Make many parts of Rails lazy. In order to facilitate this,

    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
    authored March 07, 2010

Feb 16, 2010

  1. Prem Sichanugrist

    Rename Rails::Subscriber to Rails::LogSubscriber

    authored February 15, 2010 josevalim committed February 16, 2010

Feb 04, 2010

  1. Jeremy Kemper

    Rationalize railtie dependencies: AC uses AV; AR uses AMo; and Rails …

    …always uses AS.
    authored February 04, 2010

Jan 30, 2010

  1. José Valim

    Drop AR I18n deprecation and simple use errors.messages as fallback.

    authored January 30, 2010
  2. Paul Rosania

    tsort-based dependency resolution for initializers

    Signed-off-by: Jeremy Kemper <>
    authored January 27, 2010 jeremy committed January 29, 2010

Jan 28, 2010

  1. Move the ActiveRecord generator settings into the Railtie

    authored January 28, 2010

Jan 25, 2010

  1. José Valim

    As first step setup the load path and lazy compare middlewares.

    authored January 25, 2010
  2. José Valim

    Add active_model/railtie back to generated boot.rb, add models back t…

    …o paths, load active_support/railtie since we need it and ensure default logger is set before config.
    authored January 25, 2010

Jan 24, 2010

  1. José Valim

    Rename plugin_name to railtie_name and engine_name.

    authored January 24, 2010

Jan 22, 2010

  1. José Valim

    Moved more configuration away from bootstrap.

    authored January 22, 2010

Jan 15, 2010

  1. José Valim

    Move Dispatcher setup to Railties and add instrumentation hook.

    authored January 14, 2010

Jan 13, 2010

  1. José Valim

    Move AR logging responsibilities to ActiveRecord::Railties::Subscriber.

    authored January 12, 2010

Jan 11, 2010

  1. José Valim

    Send the connection in AR notifications to avoid checking out new con…

    …nections in threads just for logging purposes.
    authored January 11, 2010

Jan 07, 2010

  1. José Valim

    Add a deprecation message to activerecord.errors.

    authored January 07, 2010

Jan 03, 2010

  1. José Valim

    Use underscore in notification namespaces.

    authored January 04, 2010
  2. José Valim

    Use namespaces in notifications.

    authored January 03, 2010

Dec 31, 2009

  1. Some railties cleanup:

    	* Rename <framework>/rails.rb -> <framework>/railtie.rb
    	* Rails::Plugin -> Rails::Railtie
    	* Rails::Plugin::Vendored -> Rails::Plugin
    authored December 31, 2009
Something went wrong with that request. Please try again.