Changeset 723

Show
Ignore:
Timestamp:
02/03/08 13:40:22 (7 months ago)
Author:
seancribbs
Message:

rails2: Make all extensions loaded by default.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/rails2/config/environment.rb

    r717 r723  
    2525  # config.plugins = [ :exception_notification, :ssl_requirement, :all ] 
    2626   
    27   # Only load the extensions named here, in the order given. By default all plugins in vendor/extensions are 
     27  # Only load the extensions named here, in the order given. By default all extensions in vendor/extensions are 
    2828  # loaded, in alphabetical order. :all can be used as a placeholder for all extensions not explicitly named.  
    29   config.extensions = [ :all ]  
     29  # config.extensions = [ :all ]  
    3030 
    3131  # Force all environments to use the same logger level  
  • branches/rails2/db/schema.rb

    r697 r723  
    6666  end 
    6767 
     68  add_index "sessions", ["updated_at"], :name => "index_sessions_on_updated_at" 
    6869  add_index "sessions", ["session_id"], :name => "index_sessions_on_session_id" 
    69   add_index "sessions", ["updated_at"], :name => "index_sessions_on_updated_at" 
    7070 
    7171  create_table "snippets", :force => true do |t| 
  • branches/rails2/lib/generators/instance/templates/instance_environment.rb

    r717 r723  
    2525  # config.plugins = [ :exception_notification, :ssl_requirement, :all ] 
    2626   
    27   # Only load the extensions named here, in the order given. By default all plugins in vendor/extensions are 
     27  # Only load the extensions named here, in the order given. By default all extensions in vendor/extensions are 
    2828  # loaded, in alphabetical order. :all can be used as a placeholder for all extensions not explicitly named.  
    29   config.extensions = [ :all ]  
     29  # config.extensions = [ :all ]  
    3030 
    3131  # Force all environments to use the same logger level  
  • branches/rails2/lib/radiant/initializer.rb

    r717 r723  
    1616      self.view_paths = [] 
    1717      self.extension_paths = default_extension_paths 
    18       self.extensions = [
     18      self.extensions = [ :all
    1919      super 
    2020    end