You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.8 KiB

13 years ago
Entrydns::Application.configure do
13 years ago
# Settings specified here will take precedence over those in config/application.rb
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have to restart the web server when you make code changes.
config.cache_classes = false
# Show full error reports and disable caching
config.consider_all_requests_local = true
config.action_controller.perform_caching = false
config.action_mailer.raise_delivery_errors = false
13 years ago
# Print deprecation notices to the Rails logger
config.active_support.deprecation = :log
# Only use best-standards-support built into browsers
config.action_dispatch.best_standards_support = :builtin
# Do not compress assets
config.assets.compress = false
# Expands the lines which load the assets
config.assets.debug = true
config.action_mailer.default_url_options = { host: 'localhost:3000' }
config.action_mailer.delivery_method = :letter_opener
# config.action_mailer.delivery_method = :smtp
# config.action_mailer.smtp_settings = { address: "localhost", port: 1025 }
13 years ago
config.eager_load = false
config.after_initialize do
Bullet.enable = true
Bullet.alert = true
Bullet.bullet_logger = true
Bullet.console = true
#Bullet.growl = true
#Bullet.xmpp = { :account => 'bullets_account@jabber.org',
# :password => 'bullets_password_for_jabber',
# :receiver => 'your_account@jabber.org',
# :show_online_status => true }
Bullet.rails_logger = true
#Bullet.airbrake = true
Bullet.add_footer = true
11 years ago
Bullet.add_whitelist type: :n_plus_one_query, class_name: "Domain", association: :permissions
end
13 years ago
end