Sha256: 577e5183d91f6d1692f4f53e71f0d1ce0d70d58fd374aa06126c363ce83844bc

Contents?: true

Size: 231 Bytes

Versions: 161

Compression:

Stored size: 231 Bytes

Contents

desc 'Prints out your Rack middleware stack'
task middleware: :environment do
  Rails.configuration.middleware.each do |middleware|
    puts "use #{middleware.inspect}"
  end
  puts "run #{Rails.application.class.name}.routes"
end

Version data entries

161 entries across 156 versions & 12 rubygems

Version Path
railties-4.0.5 lib/rails/tasks/middleware.rake
railties-4.1.1 lib/rails/tasks/middleware.rake
railties-4.1.0 lib/rails/tasks/middleware.rake
railties-4.1.0.rc2 lib/rails/tasks/middleware.rake
railties-4.0.4 lib/rails/tasks/middleware.rake
railties-4.0.4.rc1 lib/rails/tasks/middleware.rake
railties-4.1.0.rc1 lib/rails/tasks/middleware.rake
railties-4.1.0.beta2 lib/rails/tasks/middleware.rake
railties-4.0.3 lib/rails/tasks/middleware.rake
railties-4.1.0.beta1 lib/rails/tasks/middleware.rake
railties-4.0.2 lib/rails/tasks/middleware.rake
railties-4.0.1 lib/rails/tasks/middleware.rake
railties-4.0.1.rc4 lib/rails/tasks/middleware.rake
railties-4.0.1.rc3 lib/rails/tasks/middleware.rake
railties-4.0.1.rc2 lib/rails/tasks/middleware.rake
railties-4.0.1.rc1 lib/rails/tasks/middleware.rake
challah-1.0.0 vendor/bundle/gems/railties-4.0.0/lib/rails/tasks/middleware.rake
railties-4.0.0 lib/rails/tasks/middleware.rake
railties-4.0.0.rc2 lib/rails/tasks/middleware.rake
railties-4.0.0.rc1 lib/rails/tasks/middleware.rake