summaryrefslogtreecommitdiff
path: root/config/application.rb
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-02-20 18:06:41 -0700
committermo khan <mo@mokhan.ca>2014-02-20 18:06:41 -0700
commit1bff8ede68b131f183c96eafacb99df6c9ee514a (patch)
tree1c6be6f9075ef519bb24b84003544a5b31fe41b4 /config/application.rb
parent734c8c53aa1821a199a76350fd7cbe3449c1193d (diff)
rails new .
Diffstat (limited to 'config/application.rb')
-rw-r--r--config/application.rb31
1 files changed, 31 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb
new file mode 100644
index 0000000..267e747
--- /dev/null
+++ b/config/application.rb
@@ -0,0 +1,31 @@
+require File.expand_path('../boot', __FILE__)
+
+# Pick the frameworks you want:
+require "active_record/railtie"
+require "action_controller/railtie"
+require "action_mailer/railtie"
+# require "sprockets/railtie"
+# require "rails/test_unit/railtie"
+
+# Require the gems listed in Gemfile, including any gems
+# you've limited to :test, :development, or :production.
+Bundler.require(:default, Rails.env)
+
+module CodeChallengeMo
+ class Application < Rails::Application
+ # Settings in config/environments/* take precedence over those specified here.
+ # Application configuration should go into files in config/initializers
+ # -- all .rb files in that directory are automatically loaded.
+
+ # 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. Default is UTC.
+ # config.time_zone = 'Central Time (US & Canada)'
+
+ # 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}').to_s]
+ # config.i18n.default_locale = :de
+
+ # Disable the asset pipeline.
+ config.assets.enabled = false
+ end
+end