```ruby
require File.expand_path('../boot', __FILE__)

# Pick the frameworks you want:
require "active_record/railtie"
require "action_controller/railtie"
require "action_mailer/railtie"
require "active_resource/railtie"
require "sprockets/railtie"

if defined?(Bundler)
  Bundler.require(:default, :assets, Rails.env)
end

module SchedDo
  class Application < Rails::Application
    config.generators do |generate|
      generate.test_framework :rspec
    end

    config.active_record.whitelist_attributes = false
    config.assets.enabled = true
    config.assets.initialize_on_precompile = false
    config.assets.precompile += %w(media-queries.css ie.css)
    config.assets.version = '1.3'
    config.autoload_paths += %W(#{config.root}/lib)
    config.encoding = "utf-8"
    config.filter_parameters += [:password]

    # Set wait time for share modal after vote
    config.share_app_delay = 45000

    # Set yammer hostnames
    config.yammer_assets_host = 'https://assets.yammer.com'
    config.yammer_assets_staging_host = 'https://assets.staging.yammer.com'
    config.yammer_host = 'https://www.yammer.com'
    config.yammer_staging_host = 'https://www.staging.yammer.com'
  end
end
```

Load rails environment when precompiling assets
user
```ruby
require File.expand_path('../boot', __FILE__)

# Pick the frameworks you want:
require "active_record/railtie"
require "action_controller/railtie"
require "action_mailer/railtie"
require "active_resource/railtie"
require "sprockets/railtie"

if defined?(Bundler)
  Bundler.require(:default, :assets, Rails.env)
end

module SchedDo
  class Application < Rails::Application
    config.generators do |generate|
      generate.test_framework :rspec
    end

    config.active_record.whitelist_attributes = false
    config.assets.enabled = true
    config.assets.precompile += %w(media-queries.css ie.css)
    config.assets.version = '1.3'
    config.autoload_paths += %W(#{config.root}/lib)
    config.encoding = "utf-8"
    config.filter_parameters += [:password]

    # Set wait time for share modal after vote
    config.share_app_delay = 45000

    # Set yammer hostnames
    config.yammer_assets_host = 'https://assets.yammer.com'
    config.yammer_assets_staging_host = 'https://assets.staging.yammer.com'
    config.yammer_host = 'https://www.yammer.com'
    config.yammer_staging_host = 'https://www.staging.yammer.com'
  end
end
```
assistant