1require File.expand_path('../boot', __FILE__)
2
3require "action_controller/railtie"
4require "action_mailer/railtie"
5require "active_resource/railtie"
6require "rails/test_unit/railtie"
7require "sprockets/railtie"
8require 'nokogiri'
9require 'net/dns'
10require 'net/dns/resolver'
11require 'ipaddress'
12
13# If you have a Gemfile, require the gems listed there, including any gems
14# you've limited to :test, :development, or :production.
15Bundler.require(:default, Rails.env) if defined?(Bundler)
16
17module FpdnsRails
18  class Application < Rails::Application
19    # Settings in config/environments/* take precedence over those specified here.
20    # Application configuration should go into files in config/initializers
21    # -- all .rb files in that directory are automatically loaded.
22
23    # Custom directories with classes and modules you want to be autoloadable.
24    # config.autoload_paths += %W(#{config.root}/extras)
25
26    # Only load the plugins named here, in the order given (default is alphabetical).
27    # :all can be used as a placeholder for all plugins not explicitly named.
28    # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
29
30    # Activate observers that should always be running.
31    # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
32
33    # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
34    # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
35    # config.time_zone = 'Central Time (US & Canada)'
36
37    # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
38    # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
39    # config.i18n.default_locale = :de
40
41    # JavaScript files you want as :defaults (application.js is always included).
42    # config.action_view.javascript_expansions[:defaults] = %w(jquery rails)
43
44    # Configure the default encoding used in templates for Ruby 1.9.
45    config.encoding = "utf-8"
46
47    # Configure sensitive parameters which will be filtered from the log file.
48    config.filter_parameters += [:password]
49  end
50end
51