Search code examples
ruby-on-railsrubyruby-on-rails-3rackmiddleware

The Rails Metal in Ruby on Rails 3


I am using Ruby on Rails 3 and I would like to implement some Rack middleware.

I know (but maybe I am wrong!) that, before of version 3, there was the Rails Metal "system" to handle those. But now?!

Where in my Rails application I have to locate files to use for middleware purposes (before of version 3, if I am not wrong, the folder was named 'metal')? then, how I must state them in the application.rb file?


Solution

  • Checkout the following blog post, that may answer your question:

    http://tektastic.com/2010/07/rails3-rack-and-where-did-my-metal-go.html