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.1.6 lib/rails/tasks/middleware.rake
railties-4.1.6.rc2 lib/rails/tasks/middleware.rake
railties-4.0.10.rc2 lib/rails/tasks/middleware.rake
railties-4.2.0.beta1 lib/rails/tasks/middleware.rake
railties-4.1.6.rc1 lib/rails/tasks/middleware.rake
railties-4.0.10.rc1 lib/rails/tasks/middleware.rake
railties-4.0.9 lib/rails/tasks/middleware.rake
railties-4.1.5 lib/rails/tasks/middleware.rake
railties-4.1.4 lib/rails/tasks/middleware.rake
railties-4.0.8 lib/rails/tasks/middleware.rake
railties-4.1.3 lib/rails/tasks/middleware.rake
railties-4.0.7 lib/rails/tasks/middleware.rake
railties-4.0.6 lib/rails/tasks/middleware.rake
railties-4.1.2 lib/rails/tasks/middleware.rake
railties-4.1.2.rc3 lib/rails/tasks/middleware.rake
railties-4.0.6.rc3 lib/rails/tasks/middleware.rake
railties-4.1.2.rc2 lib/rails/tasks/middleware.rake
railties-4.0.6.rc2 lib/rails/tasks/middleware.rake
railties-4.1.2.rc1 lib/rails/tasks/middleware.rake
railties-4.0.6.rc1 lib/rails/tasks/middleware.rake