Sha256: c39e680a6c7144125f425a8e3ff06656b23a762df6b5b5e239b39f5d72b3e319

Contents?: true

Size: 840 Bytes

Versions: 3

Compression:

Stored size: 840 Bytes

Contents

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

require 'rails/all'
# require "action_controller/railtie"
# require "action_mailer/railtie"
# require "active_resource/railtie"
# require "rails/test_unit/railtie"

Bundler.require
require "attachment_magick"

module Dummy
  class Application < Rails::Application
    config.encoding           = "utf-8"
    config.filter_parameters  += [:password]

    config.action_view.javascript_expansions[:defaults] = %w(jquery.min rails application)

    config.middleware.insert_after 'Rack::Lock', 'Dragonfly::Middleware', :images, '/media'
    config.middleware.insert_before 'Dragonfly::Middleware', 'Rack::Cache', {
      :verbose     => true,
      :metastore   => "file:#{Rails.root}/tmp/dragonfly/cache/meta",
      :entitystore => "file:#{Rails.root}/tmp/dragonfly/cache/body"
    }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
attachment_magick-0.2.2 test/dummy/config/application.rb
attachment_magick-0.2.1 test/dummy/config/application.rb
attachment_magick-0.2.0 test/dummy/config/application.rb