· 8 years ago · Jan 14, 2018, 02:04 AM
1Social::Application.configure do
2 # Settings specified here will take precedence over those in config/application.rb
3
4 # In the development environment your application's code is reloaded on
5 # every request. This slows down response time but is perfect for development
6 # since you don't have to restart the web server when you make code changes.
7 config.cache_classes = false
8
9 # Log error messages when you accidentally call methods on nil.
10 config.whiny_nils = true
11
12 # Show full error reports and disable caching
13 config.consider_all_requests_local = true
14 config.action_controller.perform_caching = false
15
16 # Don't care if the mailer can't send
17 config.action_mailer.raise_delivery_errors = false
18
19 # Print deprecation notices to the Rails logger
20 config.active_support.deprecation = :log
21
22 # Only use best-standards-support built into browsers
23 config.action_dispatch.best_standards_support = :builtin
24
25 # Do not compress assets
26 config.assets.compress = false
27
28 # Expands the lines which load the assets
29 config.assets.debug = true
30
31 config.action_mailer.default_url_options = { :host => 'localhost:3000' }
32
33 config.action_mailer.delivery_method = :sendmail
34 # Defaults to:
35 # config.action_mailer.sendmail_settings = {
36 # :location => '/usr/sbin/sendmail',
37 # :arguments => '-i -t'
38 # }
39 config.action_mailer.perform_deliveries = true
40 config.action_mailer.raise_delivery_errors = true
41
42 config.action_mailer.delivery_method = :smtp
43 config.action_mailer.smtp_settings = {
44 :address => "smtp.gmail.com",
45 :port => 587,
46 :domain => 'gmail.com',
47 :user_name => 'gmsfirst@gmail.com',
48 :password => 'Debian-user-Debian06',
49 :authentication => 'plain',
50# :enable_starttls_auto => true
51 :tls => true
52 }
53
54end