1. 30 5月, 2010 1 次提交
    • W
      Removing Metal from Rails 3. · 45e60283
      wycats 提交于
      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.
      45e60283
  2. 29 5月, 2010 3 次提交
  3. 28 5月, 2010 1 次提交
  4. 27 5月, 2010 1 次提交
  5. 26 5月, 2010 4 次提交
  6. 25 5月, 2010 18 次提交
  7. 24 5月, 2010 7 次提交
  8. 23 5月, 2010 1 次提交
  9. 22 5月, 2010 1 次提交
  10. 21 5月, 2010 3 次提交