1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/guides
wycats ed34652d1a Removing Metal from Rails 3.
If you have existing Metals, you have a few options:
* if your metal behaves like a middleware, add it to the
  middleware stack via config.middleware.use. You can use
  methods on the middleware stack to control exactly where
  it should go
* if it behaves like a Rack endpoint, you can link to it
  in the router. This will result in more optimal routing
  time, and allows you to remove code in your endpoint
  that matches specific URLs in favor of the more powerful
  handling in the router itself.

For the future, you can use ActionController::Metal to get
a very fast controller with the ability to opt-in to specific
controller features without paying the penalty of the full
controller stack.

Since Rails 3 is closer to Rack, the Metal abstraction is
no longer needed.
2010-06-03 23:32:10 +10:00
..
assets Update the routing guide for style and to add information on new routing features 2010-04-10 04:51:41 -04:00
rails_guides guides: adds support in the indexer for custom header IDs, and some refactors 2010-04-06 15:20:44 -07:00
source Removing Metal from Rails 3. 2010-06-03 23:32:10 +10:00
rails_guides.rb guides generation: undoes output buffer workaround, more refactors 2010-03-15 22:06:27 +01:00
w3c_validator.rb New rake validate_guides task to validate output/*.html against the W3C Validator 2010-06-03 23:32:08 +10:00