1. 23 11月, 2010 1 次提交
  2. 28 9月, 2010 1 次提交
  3. 27 9月, 2010 2 次提交
  4. 04 9月, 2010 6 次提交
  5. 04 7月, 2010 1 次提交
    • W
      Fixes for "router" and "routes" terminology · 75b32a69
      Wincent Colaiuta 提交于
      Commit f7ba614c improved the internal consistency of the different
      means of accessing routes, but it introduced some problems at the level
      of code comments and user-visible strings.
      
      This commit applies fixes on three levels:
      
      Firstly, we remove or replace grammatically invalid constructs such as
      "a routes" or "a particular routes".
      
      Secondly, we make sure that we always use "the router DSL" or "the
      router syntax", because this has always been the official terminology.
      
      Finally, we make sure that we only use "routes" when referring to the
      application-specific set of routes that are defined in the
      "config/routes.rb" file, we use "router" when referring on a more
      abstract level to "the code in Rails used to handle routing", and we use
      "routing" when we need an adjective to apply to nouns such as
      "url_helpers. Again this is consistent with historical practice and
      other places in the documentation.
      
      Note that this is not a sweep over the entire codebase to ensure
      consistent usage of language; it is just a revision of the changes
      introduced in commit f7ba614c.
      Signed-off-by: NWincent Colaiuta <win@wincent.com>
      Signed-off-by: NJosé Valim <jose.valim@gmail.com>
      75b32a69
  6. 02 7月, 2010 1 次提交
  7. 08 6月, 2010 1 次提交
  8. 10 3月, 2010 1 次提交
  9. 05 3月, 2010 2 次提交
  10. 04 3月, 2010 1 次提交
  11. 27 2月, 2010 2 次提交
  12. 26 2月, 2010 2 次提交
  13. 22 2月, 2010 1 次提交
  14. 06 2月, 2010 1 次提交
  15. 01 2月, 2010 1 次提交
  16. 30 1月, 2010 1 次提交
  17. 07 1月, 2010 1 次提交
  18. 21 12月, 2009 1 次提交
  19. 12 8月, 2009 1 次提交
    • Y
      More perf work: · 4bf516e0
      Yehuda Katz 提交于
        * Move #set_cookie and #delete_cookie inline to optimize. These optimizations should
          almost certainly be sent back upstream to Rack. The optimization involves using
          an ivar for cookies instead of indexing into the headers each time.
        * Was able to use a bare Hash for headers now that cookies have their own joining
          semantics (some code assumed that the raw cookies were an Array).
        * Cache blankness of body on body=
        * Improve expand_cache_key for Arrays of a single element (common in our case)
        * Use a simple layout condition check unless conditions are used
        * Cache visible actions
        * Lazily load the UrlRewriter
        * Make etag an ivar that is set on prepare!
      4bf516e0
  20. 07 8月, 2009 1 次提交
  21. 16 6月, 2009 1 次提交
  22. 30 5月, 2009 1 次提交
  23. 29 5月, 2009 1 次提交
  24. 28 5月, 2009 1 次提交
  25. 27 5月, 2009 1 次提交
    • Y
      Reduce the cost of using ActionController::Http significantly by: · 6bbe965c
      Yehuda Katz 提交于
        * Removing the dependency on AD::Request and AD::Response
        * Moving the logic for the request and response object
          into a new module that is included by default.
        * Changing Renderer and Redirector to use self.headers,
          self.content_type, and self.status, which have very basic
          default implementations on AC::Http. When RackConvenience
          is included (which it is by default on AC::Base), the full
          Request/Response logic is used instead of the simple logic.
      6bbe965c
  26. 20 5月, 2009 1 次提交
  27. 12 5月, 2009 1 次提交
  28. 07 5月, 2009 1 次提交
  29. 13 3月, 2009 1 次提交