Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 2, 2010
  1. @josevalim

    Ensure routes are loaded only after the initialization process finish…

    josevalim authored
    …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 authored
    …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 authored
    …edback from plugin developers.
  2. @josevalim

    Ensure that eager_load actually takes place just after the middleware…

    josevalim authored
    … 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 authored
    …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 authored
    …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 authored
Commits on Feb 19, 2010
  1. @josevalim

    Revert behavior from a5684df and ensure after_initializer is executed…

    josevalim authored
    … 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 authored Carl Lerche committed
    Signed-off-by: Carl Lerche <carllerche@mac.com>
  2. @josevalim

    Refactor MetalLoader and RoutesReloader to rely less on class configu…

    josevalim authored Carl Lerche committed
    …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 authored
Commits on Jan 23, 2010
  1. @josevalim
  2. @josevalim
Something went wrong with that request. Please try again.