Commit a27cc41b84e59a39c0e49f1aa6c3b13f50cf41cc
1 parent
65e6739c
Exists in
master
and in
1 other branch
adding user model test by default. fixing SMTP settings.
Showing
3 changed files
with
10 additions
and
24 deletions
Show diff stats
config/environment.rb
... | ... | @@ -9,29 +9,8 @@ require File.join(File.dirname(__FILE__), 'boot') |
9 | 9 | Rails::Initializer.run do |config| |
10 | 10 | # Settings in config/environments/* take precedence over those specified here. |
11 | 11 | |
12 | - # Application configuration should go into files in config/initializers | |
13 | - # -- all .rb files in that directory are automatically loaded. | |
14 | - # See Rails::Configuration for more options. | |
15 | - | |
16 | - # Skip frameworks you're not going to use. To use Rails without a database | |
17 | - # you must remove the Active Record framework. | |
18 | - # config.frameworks -= [ :active_record, :active_resource, :action_mailer ] | |
19 | - | |
20 | - # Force all environments to use the same logger level | |
21 | - # (by default production uses :info, the others :debug) | |
22 | - # config.log_level = :debug | |
23 | - | |
24 | - # Make Time.zone default to the specified zone, and make Active Record store time values | |
25 | - # in the database in UTC, and return them converted to the specified local zone. | |
26 | - # Run "rake -D time" for a list of tasks for finding time zone names. Uncomment to use default local time. | |
27 | 12 | config.time_zone = 'UTC' |
28 | 13 | |
29 | - # Use SQL instead of Active Record's schema dumper when creating the test database. | |
30 | - # This is necessary if your schema can't be completely dumped by the schema dumper, | |
31 | - # like if you have constraints or database-specific column types | |
32 | - # config.active_record.schema_format = :sql | |
33 | - | |
34 | - # Activate observers that should always be running | |
35 | - # config.active_record.observers = :cacher, :garbage_collector | |
14 | + config.action_mailer.delivery_method = :smtp | |
36 | 15 | end |
37 | 16 | ... | ... |
config/initializers/mail.rb