1. 25 11月, 2014 1 次提交
  2. 27 5月, 2014 1 次提交
  3. 11 4月, 2014 3 次提交
  4. 12 12月, 2013 1 次提交
  5. 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
  6. 06 1月, 2013 1 次提交
  7. 05 1月, 2013 1 次提交
  8. 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