Skip to content

Instantly share code, notes, and snippets.

@rymai
Created June 2, 2010 07:44
Show Gist options
  • Save rymai/422079 to your computer and use it in GitHub Desktop.
Save rymai/422079 to your computer and use it in GitHub Desktop.
require File.join(File.dirname(__FILE__), 'boot')
Rails::Initializer.run do |config|
# Add additional load paths for your own custom dirs
config.load_paths += %W[#{Rails.root}/app/mailers]
# Only load the plugins named here, in the order given (default is alphabetical).
# :all can be used as a placeholder for all plugins not explicitly named
# config.plugins = [ :exception_notification, :ssl_requirement, :all ]
# Skip frameworks you're not going to use. To use Rails without a database,
# you must remove the Active Record framework.
config.frameworks -= [:active_record]
# Activate observers that should always be running
# config.active_record.observers = :cacher, :garbage_collector, :forum_observer
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
# Run "rake -D time" for a list of tasks for finding time zone names.
config.time_zone = 'Bern'
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}')]
# config.i18n.default_locale = :de
config.action_mailer.default_charset = "utf-8"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment