Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 8795

Show
Ignore:
Timestamp:
02/03/08 17:54:39 (2 years ago)
Author:
rick
Message:

ensure that the after_initialize hooks are run after the application initializers have run

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/railties/lib/initializer.rb

    r8787 r8795  
    8888      load_plugins 
    8989 
     90      load_application_initializers 
     91 
    9092      # the framework is now fully initialized 
    9193      after_initialize 
    92  
    93       load_application_initializers 
    9494 
    9595      # Routing must be initialized after plugins to allow the former to extend the routes