1. 23 2月, 2012 2 次提交
    • R
    • D
      Add config.default_method_for_update to support PATCH · 002713c6
      David Lee 提交于
      PATCH is the correct HTML verb to map to the #update action. The
      semantics for PATCH allows for partial updates, whereas PUT requires a
      complete replacement.
      
      Changes:
      * adds config.default_method_for_update you can set to :patch
      * optionally use PATCH instead of PUT in resource routes and forms
      * adds the #patch verb to routes to detect PATCH requests
      * adds #patch? to Request
      * changes documentation and comments to indicate support for PATCH
      
      This change maintains complete backwards compatibility by keeping :put
      as the default for config.default_method_for_update.
      002713c6
  2. 19 1月, 2012 1 次提交
  3. 11 6月, 2011 2 次提交
  4. 04 5月, 2011 1 次提交
  5. 13 4月, 2011 1 次提交
  6. 17 12月, 2010 1 次提交
  7. 16 11月, 2010 2 次提交
  8. 24 6月, 2010 1 次提交
  9. 23 6月, 2010 2 次提交
  10. 17 6月, 2010 1 次提交
  11. 30 3月, 2010 1 次提交
  12. 27 3月, 2010 1 次提交
  13. 07 3月, 2010 1 次提交
    • W
      Make many parts of Rails lazy. In order to facilitate this, · 39d6f9e1
      wycats 提交于
      add lazy_load_hooks.rb, which allows us to declare code that
      should be run at some later time. For instance, this allows
      us to defer requiring ActiveRecord::Base at boot time purely
      to apply configuration. Instead, we register a hook that should
      apply configuration once ActiveRecord::Base is loaded.
      
      With these changes, brings down total boot time of a
      new app to 300ms in production and 400ms in dev.
      
      TODO: rename base_hook
      39d6f9e1
  14. 17 2月, 2010 1 次提交
  15. 24 1月, 2010 1 次提交
  16. 15 1月, 2010 1 次提交
  17. 13 1月, 2010 1 次提交
  18. 01 1月, 2010 3 次提交