# Bootstrap the Rails environment, frameworks, and default configuration require File.join(File.dirname(__FILE__), 'boot') Rails::Initializer.run do |config| # Settings in config/environments/* take precedence those specified here # Skip frameworks you're not going to use (only works if using vendor/rails) config.frameworks -= [ :action_web_service ] # Add additional load paths for your own custom dirs # config.load_paths += %W( #{RAILS_ROOT}/app/cachers ) ## Uncomment to use a log format that can be parsed by the production_log_analyzer gem tools. # require 'hodel_3000_compliant_logger' # config.logger = Hodel3000CompliantLogger.new(config.log_path) config.action_controller.session_store = :active_record_store config.active_record.schema_format = :ruby config.active_record.default_timezone = :utc # Activate observers that should always be running # config.active_record.observers = :cacher end require 'rss/2.0' ActiveSupport::CoreExtensions::Time::Conversions::DATE_FORMATS.update( :short_date => '%A, %b %d', :long_date => '%A, %B %d, %Y' ) ActiveRecord::SchemaDumper.ignore_tables = "sqlite_sequence"