Skip to content
This repository

Sep 02, 2010

  1. José Valim

    Ensure routes are loaded only after the initialization process finish…

    …es, ensuring all configuration options were applied.
    josevalim authored

Jun 23, 2010

  1. Xavier Noria

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

    …d config
    fxn authored

Jun 20, 2010

  1. José Valim

    Alias app to build_middleware_stack for clarity.

    josevalim authored

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.
    josevalim authored

May 15, 2010

  1. José Valim

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

    …edback from plugin developers.
    josevalim authored
  2. José Valim

    Ensure that eager_load actually takes place just after the middleware…

    … stack is built by using another pattern.
    
    Also create a engine_blank_point initializer to ensure any :before or :after hooks defined inside engines won't move the configuration initializers to other places.
    josevalim authored
  3. 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
      config/environments/{development,production,test}.rb)
    * 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.
    wycats authored

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.
    josevalim authored

Mar 20, 2010

  1. Joshua Peek

    Move railties/builtin into lib

    josh authored

Feb 19, 2010

  1. José Valim

    Revert behavior from a5684df and ensure after_initializer is executed…

    … after to_prepare callbacks.
    josevalim authored

Feb 18, 2010

  1. José Valim

    Ensure config.after_initializer is executed before building the middl…

    …eware stack.
    josevalim authored

Jan 28, 2010

  1. José Valim

    Add config.to_prepare back and add tests for it.

    Signed-off-by: Carl Lerche <carllerche@mac.com>
    josevalim authored Carl Lerche committed
  2. José Valim

    Refactor MetalLoader and RoutesReloader to rely less on class configu…

    …ration.
    
    Signed-off-by: Carl Lerche <carllerche@mac.com>
    josevalim authored Carl Lerche committed

Jan 25, 2010

  1. José Valim

    Ensure all initializers are collections.

    josevalim authored

Jan 24, 2010

  1. José Valim

    Fix a couple failures on 1.9.1.

    josevalim authored
  2. José Valim

    Ensure metals and initializers in plugins are loaded.

    josevalim authored
  3. José Valim

    Solve some pendencies.

    josevalim authored

Jan 23, 2010

  1. José Valim

    First steps into making Plugin < Engine.

    josevalim authored
  2. José Valim

    Break application.rb file in smaller chunks.

    josevalim authored
Something went wrong with that request. Please try again.