application.rb 1.1 KB

1234567891011121314151617181920212223242526
  1. require File.expand_path('../boot', __FILE__)
  2. require 'rails/all'
  3. # Require the gems listed in Gemfile, including any gems
  4. # you've limited to :test, :development, or :production.
  5. Bundler.require(*Rails.groups)
  6. module Rottenpotatoes
  7. class Application < Rails::Application
  8. # Settings in config/environments/* take precedence over those specified here.
  9. # Application configuration should go into files in config/initializers
  10. # -- all .rb files in that directory are automatically loaded.
  11. # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
  12. # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
  13. # config.time_zone = 'Central Time (US & Canada)'
  14. # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
  15. # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
  16. # config.i18n.default_locale = :de
  17. # Do not swallow errors in after_commit/after_rollback callbacks.
  18. config.active_record.raise_in_transactional_callbacks = true
  19. end
  20. end