diff options
| author | mo khan <mo@mokhan.ca> | 2015-02-02 21:31:39 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2015-02-02 21:31:39 -0700 |
| commit | 013bcebf8a96b9047317eed674a17c7bc375093f (patch) | |
| tree | 2c27360ad9477cdf6a43828aaeebe7ebc0960801 /config/application.rb | |
initial commit.
Diffstat (limited to 'config/application.rb')
| -rw-r--r-- | config/application.rb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb new file mode 100644 index 0000000..a4c3856 --- /dev/null +++ b/config/application.rb @@ -0,0 +1,34 @@ +require File.expand_path('../boot', __FILE__) + +# Pick the frameworks you want: +require "active_model/railtie" +require "active_job/railtie" +require "active_record/railtie" +require "action_controller/railtie" +require "action_mailer/railtie" +require "action_view/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(*Rails.groups) + +module Malwer + 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 + + # Do not swallow errors in after_commit/after_rollback callbacks. + config.active_record.raise_in_transactional_callbacks = true + end +end |
