Skip to content
Commits on Oct 6, 2010
  1. @josevalim
Commits on Sep 17, 2010
  1. @carllerche
Commits on Sep 2, 2010
  1. @josevalim

    Ensure routes are loaded only after the initialization process finish…

    josevalim committed
    …es, ensuring all configuration options were applied.
Commits on Jun 23, 2010
  1. @fxn
Commits on Jun 20, 2010
  1. @josevalim
Commits on Jun 1, 2010
  1. @josevalim

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

    josevalim committed
    …d lib code during configuration.
Commits on May 15, 2010
  1. @josevalim

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

    josevalim committed
    …edback from plugin developers.
  2. @josevalim

    Ensure that eager_load actually takes place just after the middleware…

    josevalim committed
    … 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.
  3. @wycats

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

    wycats committed
    …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.
Commits on Apr 5, 2010
  1. @josevalim

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

    josevalim committed
    …figuration in request.env. This is another step forward removing global configuration.
Commits on Mar 20, 2010
  1. @josh

    Move railties/builtin into lib

    josh committed
Commits on Feb 19, 2010
  1. @josevalim

    Revert behavior from a5684df and ensure after_initializer is executed…

    josevalim committed
    … after to_prepare callbacks.
Commits on Feb 18, 2010
  1. @josevalim
Commits on Jan 28, 2010
  1. @josevalim

    Add config.to_prepare back and add tests for it.

    josevalim committed with Carl Lerche
    Signed-off-by: Carl Lerche <carllerche@mac.com>
  2. @josevalim

    Refactor MetalLoader and RoutesReloader to rely less on class configu…

    josevalim committed with Carl Lerche
    …ration.
    
    Signed-off-by: Carl Lerche <carllerche@mac.com>
Commits on Jan 25, 2010
  1. @josevalim
Commits on Jan 24, 2010
  1. @josevalim
  2. @josevalim
  3. @josevalim

    Solve some pendencies.

    josevalim committed
Commits on Jan 23, 2010
  1. @josevalim
  2. @josevalim
Something went wrong with that request. Please try again.