Show
Ignore:
Timestamp:
08/23/09 20:20:28 (4 years ago)
Author:
mauriciobomfim
Message:

Migrated to Rails 2.3.3

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/config/environment.rb

    r67 r112  
    33# Uncomment below to force Rails into production mode when  
    44# you don't control web/app server and can't set it the proper way 
    5 # ENV['RAILS_ENV'] ||= 'production' 
     5#ENV['RAILS_ENV'] ||= 'production' 
    66 
    77# Bootstrap the Rails environment, frameworks, and default configuration 
     
    1616  # Add additional load paths for your own custom dirs 
    1717  config.load_paths += %W( #{RAILS_ROOT}/vendor/semanticrecord/lib ) 
     18         
     19        config.load_once_paths += %W( #{RAILS_ROOT}/app/models ) 
     20        config.load_once_paths +=  %W( #{RAILS_ROOT}/vendor/semanticrecord/lib ) 
    1821 
    1922  # Force all environments to use the same logger level  
     
    3134  # Activate observers that should always be running 
    3235  # config.active_record.observers = :cacher, :garbage_collector 
    33  
     36        config.active_record.observers = :model_observer 
    3437  # Make Active Record use UTC-base instead of local time 
    3538  # config.active_record.default_timezone = :utc 
     
    4043 
    4144  # See Rails::Configuration for more options 
     45         
    4246end 
    4347 
     
    5256 
    5357# Include your application configuration below 
    54 require 'hyperde_init' 
     58require "#{RAILS_ROOT}/config/hyperde_init"