Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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. @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 29, 2010
  1. @josevalim

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

    josevalim authored
    … initializing the application on its own. This fixes [#4492 state:resolved] and also avoids the application being initialized twice in some rake tasks.
Commits on Apr 26, 2010
  1. @josevalim

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

    josevalim authored
    …s specified in railties/engines/rails. [#4471 state:resolved]
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 26, 2010
  1. @wycats
  2. @josevalim

    Move application configuration to the application configuration objec…

    josevalim authored
    …t, remove railtie_name and engine_name and allow to set the configuration object.
Commits on Mar 20, 2010
  1. @josh

    Move railties/builtin into lib

    josh authored
Commits on Mar 12, 2010
  1. @lifo

    Merge remote branch 'mainstream/master'

    lifo authored
    Conflicts:
    	activerecord/lib/active_record/base.rb
    	railties/lib/rails/configuration.rb
    	railties/lib/rails/log_subscriber.rb
Commits on Mar 8, 2010
  1. @wycats
Commits on Mar 3, 2010
Commits on Feb 26, 2010
  1. Get Railties tests passing

    Carlhuda authored
Commits on Feb 21, 2010
  1. @MSch

    Use ActionDispatch::Routing everywhere

    MSch authored Yehuda Katz committed
  2. @MSch

    Typo

    MSch authored Yehuda Katz committed
Commits on Feb 2, 2010
  1. @josevalim
Commits on Jan 28, 2010
  1. @josevalim

    Add more tests to some key points in Railties.

    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 26, 2010
  1. @josevalim

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

    josevalim authored
    …cade if any metal was declared.
  2. @josevalim
  3. @josevalim
Commits on Jan 25, 2010
  1. @josevalim
  2. @josh
Commits on Jan 24, 2010
  1. @josh
  2. @josevalim
  3. @josevalim
  4. @josevalim

    Solve some pendencies.

    josevalim authored
Commits on Jan 23, 2010
  1. @josevalim
  2. @josevalim
  3. @josevalim

    Plugin is now an Engine.

    josevalim authored
  4. @josevalim
  5. @josevalim
  6. @josevalim
  7. @josevalim
  8. @josevalim
  9. @josevalim
Something went wrong with that request. Please try again.