annotate config/environments/development.rb @ 16:fff788625214

Add basic hgignore.
author edogawaconan <me@myconan.net>
date Fri, 05 Sep 2014 20:37:56 +0900
parents 7362277d416d
children a2f7dfc68f44
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
1 Rails.application.configure do
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
2 # Settings specified here will take precedence over those in config/application.rb.
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
3
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
4 # In the development environment your application's code is reloaded on
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
5 # every request. This slows down response time but is perfect for development
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
6 # since you don't have to restart the web server when you make code changes.
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
7 config.cache_classes = false
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
8
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
9 # Do not eager load code on boot.
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
10 config.eager_load = false
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
11
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
12 # Show full error reports and disable caching.
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
13 config.consider_all_requests_local = true
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
14 config.action_controller.perform_caching = false
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
15
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
16 # Don't care if the mailer can't send.
3
7362277d416d Remove action mailer leftover.
edogawaconan <me@myconan.net>
parents: 0
diff changeset
17 # config.action_mailer.raise_delivery_errors = false
0
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
18
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
19 # Print deprecation notices to the Rails logger.
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
20 config.active_support.deprecation = :log
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
21
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
22
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
23 # Raises error for missing translations
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
24 # config.action_view.raise_on_missing_translations = true
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
25 end