aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/tasks/middleware.rake
blob: 5a5bd7a7e9f4c1d2c506cfc0ba0e1df8b965beb3 (plain) (blame)
1
2
3
4
5
6
7
desc 'Prints out your Rack middleware stack'
task :middleware => :environment do
  Rails.configuration.middleware.active.each do |middleware|
    puts "use #{middleware.inspect}"
  end
  puts "run #{Rails.application.class.name}"
end