Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 15, 2011
  1. @josevalim

    Clean up the cache before the request in case we are running in the r…

    josevalim authored
    …eload_classes_only_on_change schema.
Commits on Dec 13, 2011
  1. @josevalim
  2. @josevalim
  3. @josevalim
  4. @josevalim

    Revert "Provide a unique point for running initializers."

    josevalim authored
    This reverts commit c2e3ce8.
    
    Conflicts:
    
    	railties/lib/rails/application/configuration.rb
    	railties/lib/rails/application/finisher.rb
    	railties/lib/rails/engine.rb
Commits on Dec 12, 2011
  1. @josevalim

    Speed up development by only reloading classes if dependencies files …

    josevalim authored
    …changed.
    
    This can be turned off by setting `config.reload_classes_only_on_change` to false.
    
    Extensions like Active Record should add their respective files like db/schema.rb and db/structure.sql to `config.watchable_files` if they want their changes to affect classes reloading.
    
    Thanks to https://github.com/paneq/active_reload and Pastorino for the inspiration. <3
  2. @josevalim
  3. @josevalim
  4. @josevalim
Commits on Nov 28, 2011
  1. @arunagw
Commits on Apr 25, 2011
  1. @drogus
Commits on Apr 17, 2011
  1. @josevalim
Commits on Apr 15, 2011
  1. @josevalim
Commits on Apr 13, 2011
  1. @josh
Commits on Mar 31, 2011
  1. @josh

    Unify sprockets config options

    josh authored
Commits on Mar 30, 2011
  1. @josh
  2. @josh
Commits on Dec 20, 2010
  1. @josevalim

    Replace AD::Callbacks.to_prepare with AD::Reloader.to_prepare

    John Firebaugh authored josevalim committed
    Signed-off-by: José Valim <jose.valim@gmail.com>
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 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
Something went wrong with that request. Please try again.