1. 23 8月, 2010 1 次提交
  2. 20 8月, 2010 2 次提交
  3. 14 8月, 2010 2 次提交
  4. 30 7月, 2010 4 次提交
  5. 16 7月, 2010 2 次提交
  6. 09 7月, 2010 1 次提交
  7. 02 7月, 2010 3 次提交
  8. 22 6月, 2010 1 次提交
  9. 13 6月, 2010 1 次提交
  10. 03 6月, 2010 2 次提交
    • W
      Removing Metal from Rails 3. · ed34652d
      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.
      ed34652d
    • R
      Cover more of the Rails initialization process, regarding the internals of... · 22a32f4d
      Ryan Bigg 提交于
      Cover more of the Rails initialization process, regarding the internals of YourApp::Application inheritance from Rails::Application and more.
      22a32f4d
  11. 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
  12. 25 5月, 2010 1 次提交
  13. 15 5月, 2010 1 次提交
    • W
      Reorganized initializers a bit to enable better hooks for common cases without... · 9cfeefb6
      wycats 提交于
      Reorganized initializers a bit to enable better hooks for common cases without the need for Railtie. Specifically, the following hooks were added:
      
      * before_configuration: this hook is run immediately after the Application class 
        comes into existence, but before the user has added any configuration. This is
        the appropriate place to set configuration for your plugin
      * before_initialize: This is run after all of the user's configuration has completed,
        but before any initializers have begun (in other words, it runs right after
        config/environments/{development,production,test}.rb)
      * after_initialize: This is run after all of the initializers have run. It is an
        appropriate place for forking in a preforking setup
      
      Each of these hooks may be used via ActiveSupport.on_load(name) { }. In all these cases, the context inside the block will be the Application object. This means that for simple cases, you can use these hooks without needing to create a Railtie.
      9cfeefb6
  14. 26 4月, 2010 1 次提交
  15. 17 4月, 2010 2 次提交
  16. 15 4月, 2010 1 次提交
  17. 14 4月, 2010 5 次提交
  18. 09 4月, 2010 9 次提交