source: de.wigbels.ruby/contact/config/environment.rb@ 7b22594

Last change on this file since 7b22594 was 7b7d827, checked in by njw <njw@…>, 11 years ago

opened projects: hothotwrite and contact

  • Property mode set to 100644
File size: 3.0 KB
Line 
1# Be sure to restart your web server when you modify this file.
2
3# Uncomment below to force Rails into production mode when
4# you don't control web/app server and can't set it the proper way
5# ENV['RAILS_ENV'] ||= 'production'
6
7# Specifies gem version of Rails to use when vendor/rails is not present
8RAILS_GEM_VERSION = '2.3.8' unless defined? RAILS_GEM_VERSION
9
10# Bootstrap the Rails environment, frameworks, and default configuration
11require File.join(File.dirname(__FILE__), 'boot')
12
13Rails::Initializer.run do |config|
14 # secrets to generate an integrity hash
15 config.action_controller.session = { :session_key => "_myapp_session", :secret => "there are ghost in deep water with jeanette" }
16
17 # Settings in config/environments/* take precedence over those specified here
18
19 # Skip frameworks you're not going to use (only works if using vendor/rails)
20 # config.frameworks -= [ :action_web_service, :action_mailer ]
21
22 # Only load the plugins named here, by default all plugins in vendor/plugins are loaded
23 # config.plugins = %W( exception_notification ssl_requirement )
24
25 # Add additional load paths for your own custom dirs
26 # config.load_paths += %W( #{RAILS_ROOT}/extras )
27
28 # Force all environments to use the same logger level
29 # (by default production uses :info, the others :debug)
30 # config.log_level = :debug
31
32 # Use the database for sessions instead of the file system
33 # (create the session table with 'rake db:sessions:create')
34 # config.action_controller.session_store = :active_record_store
35
36 # Use SQL instead of Active Record's schema dumper when creating the test database.
37 # This is necessary if your schema can't be completely dumped by the schema dumper,
38 # like if you have constraints or database-specific column types
39 # config.active_record.schema_format = :sql
40
41 # Activate observers that should always be running
42 # config.active_record.observers = :cacher, :garbage_collector
43
44 # Make Active Record use UTC-base instead of local time
45 # config.active_record.default_timezone = :utc
46
47 # See Rails::Configuration for more options
48 # consider using :sendmail here; further investigation needed
49 config.action_mailer.delivery_method = :sendmail
50 config.action_mailer.raise_delivery_errors = true
51 config.action_mailer.perform_deliveries = true
52 config.action_mailer.default_charset = "utf-8"
53
54 config.action_mailer.smtp_settings = {
55 :address => "mail.wigbels.net" ,
56 :port => 25,
57 :domain => "wigbels.net" ,
58 :authentication => :login,
59 :user_name => "njw" ,
60 :password => "spunk14"
61 }
62end
63
64# Add new inflection rules using the following format
65# (all these examples are active by default):
66# Inflector.inflections do |inflect|
67# inflect.plural /^(ox)$/i, '\1en'
68# inflect.singular /^(ox)en/i, '\1'
69# inflect.irregular 'person', 'people'
70# inflect.uncountable %w( fish sheep )
71# end
72
73# Add new mime types for use in respond_to blocks:
74# Mime::Type.register "text/richtext", :rtf
75# Mime::Type.register "application/x-mobile", :mobile
76
77# Include your application configuration below
Note: See TracBrowser for help on using the repository browser.