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.2.11.3 lib/rails/tasks/middleware.rake
railties-4.2.11.2 lib/rails/tasks/middleware.rake
railties-5.0.7.2 lib/rails/tasks/middleware.rake
railties-4.2.11.1 lib/rails/tasks/middleware.rake
railties-5.0.7.1 lib/rails/tasks/middleware.rake
railties-4.2.11 lib/rails/tasks/middleware.rake
railties-5.0.7 lib/rails/tasks/middleware.rake
railties-4.2.10 lib/rails/tasks/middleware.rake
railties-4.2.10.rc1 lib/rails/tasks/middleware.rake
railties-5.0.6 lib/rails/tasks/middleware.rake
railties-5.0.6.rc1 lib/rails/tasks/middleware.rake
railties-5.0.5 lib/rails/tasks/middleware.rake
railties-5.0.5.rc2 lib/rails/tasks/middleware.rake
railties-5.0.5.rc1 lib/rails/tasks/middleware.rake
railties-4.2.9 lib/rails/tasks/middleware.rake
railties-4.2.9.rc2 lib/rails/tasks/middleware.rake
railties-5.0.4 lib/rails/tasks/middleware.rake
railties-5.0.4.rc1 lib/rails/tasks/middleware.rake
railties-4.2.9.rc1 lib/rails/tasks/middleware.rake
railties-5.0.3 lib/rails/tasks/middleware.rake