1. 04 9月, 2010 6 次提交
  2. 01 9月, 2010 1 次提交
  3. 29 8月, 2010 1 次提交
  4. 25 8月, 2010 5 次提交
  5. 24 8月, 2010 4 次提交
  6. 23 8月, 2010 1 次提交
    • A
      Cache the symbolized path parameters using a instance variable in the request... · ae2c6073
      Andrew White 提交于
      Cache the symbolized path parameters using a instance variable in the request object rather than the environment hash. This it to prevent stale parameters in later routing constraints/redirects as only the normal path parameters are set by Rack::Mount.
      
      Also if a constraint proc arity is more than one, pass the symbolized path parameters
      as the first argument to match redirect proc args and provide easier access.
      
      [#5157 state:resolved]
      Signed-off-by: NJosé Valim <jose.valim@gmail.com>
      ae2c6073
  7. 21 8月, 2010 1 次提交
  8. 20 8月, 2010 4 次提交
  9. 19 8月, 2010 1 次提交
  10. 18 8月, 2010 1 次提交
  11. 09 8月, 2010 1 次提交
  12. 13 7月, 2010 1 次提交
  13. 12 7月, 2010 1 次提交
  14. 07 7月, 2010 2 次提交
  15. 06 7月, 2010 1 次提交
  16. 04 7月, 2010 2 次提交
    • A
      Refactor resource options and scoping. Resource classes are now only... · c6843e23
      Andrew White 提交于
      Refactor resource options and scoping. Resource classes are now only responsible for controlling how they are named. All other options passed to resources are pushed out to the scope.
      Signed-off-by: NJosé Valim <jose.valim@gmail.com>
      c6843e23
    • 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
  17. 03 7月, 2010 1 次提交
  18. 02 7月, 2010 1 次提交
  19. 30 6月, 2010 2 次提交
  20. 28 6月, 2010 1 次提交
  21. 26 6月, 2010 2 次提交