1. 23 8月, 2013 1 次提交
  2. 21 8月, 2013 1 次提交
  3. 03 5月, 2013 1 次提交
  4. 10 4月, 2013 1 次提交
  5. 09 4月, 2013 2 次提交
  6. 07 3月, 2013 1 次提交
  7. 05 3月, 2013 1 次提交
  8. 18 2月, 2013 1 次提交
  9. 21 1月, 2013 1 次提交
    • S
      In Browser Path Matching with Javascript · 8b72d689
      schneems 提交于
      When debugging routes ,it can sometimes be difficult to understand exactly how the paths are matched. This PR adds a JS based path matching widget to the `/rails/info/routes` output. You can enter in a path, and it will tell you which of the routes that path matches, while preserving order (top match wins).
      
      The matching widget in action:
      
      ![](http://f.cl.ly/items/3A2F0v2m3m1Z1p3P3O3k/path-match.gif)
      
      Prior to this PR the only way to check matching paths is via mental math, or typing in a path in the url bar and seeing where it goes. This feature will be an invaluable debugging tool by dramatically decreasing the time needed to check a path match. 
      
      ATP actionpack
      8b72d689
  10. 06 1月, 2013 2 次提交
  11. 05 1月, 2013 3 次提交
  12. 04 1月, 2013 2 次提交
  13. 03 1月, 2013 3 次提交
  14. 02 1月, 2013 4 次提交
  15. 01 1月, 2013 6 次提交
  16. 18 12月, 2012 2 次提交
    • C
      Minor js review [ci skip] · c3e573db
      Carlos Antonio da Silva 提交于
      Remove/add ; where necessary, fix indentation.
      c3e573db
    • S
      Format routes as html on debug page · 37d9c44b
      schneems 提交于
      When someone gets a routing exception, the routes are rendered (starting in Rails 4.0). This PR brings parity between the html routes in the `rails/info/routes` path and when rendered from an exception. This is the continuation of #8521 which brought html formatted routes. 
      
      In addition to bringing parity to the two views, we're keeping our views DRY by rendering off of the same partials. In this case Railties depends on partials provided by ActionDispatch. I'm open to alternative implementations. Ideally both views will use the same code so any improvements or updates to it will be reproduced on both.
      
      <hr />
      
      ![](http://f.cl.ly/items/3O1D0K1v0j0i343O3T3T/Screen%20Shot%202012-12-17%20at%203.07.20%20PM.png)
      37d9c44b
  17. 01 11月, 2012 1 次提交
  18. 08 7月, 2012 1 次提交
    • S
      show routes while debugging RoutingError · fa714ec7
      schneems 提交于
      If someone receives a routing error, they likely need to view the routes. Rather than making them visit '/rails/info/routes' or run `rake routes` we can give them that information on the page.
      fa714ec7
  19. 05 5月, 2012 1 次提交
    • P
      Try to convert object passed to debug_hash to hash · acb39848
      Piotr Sarnacki 提交于
      SessionStore was recently changed to delegate to hash
      object instead of inherit from it. Since we don't want
      to extend SessionStore with every method implemented in
      Hash, it's better to just convert any object passed to
      debug_hash (which is also better as we don't require
      to pass Hash instance there, it can be any object that
      can be converted to Hash).
      acb39848
  20. 03 5月, 2012 1 次提交
    • S
      Add backtrace to development routing error page · e737f142
      schneems 提交于
      If a user gets a routing error due to a view helper such as using user_path without an :id they must go to their logs to see the backtrace. By adding in the trace template, a user can see which line the error occurred on without leaving the browser.
      
      When a routing error occurs outside of the view the application trace will be blank and will not confuse developers.
      e737f142
  21. 18 12月, 2011 1 次提交
    • S
      add help text to routing error · 921dcc25
      schneems 提交于
      When a newcomer hits the routing error page they
      are often confused about how to trouble shoot the
      next step. Adding a simple help text can gently 
      remind coders where to get more help.
      921dcc25
  22. 03 11月, 2011 1 次提交
  23. 06 5月, 2011 1 次提交
  24. 05 5月, 2011 1 次提交