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 3 次提交
  9. 15 12月, 2012 1 次提交
  10. 13 12月, 2012 1 次提交
    • S
      Output routes in :html format · 08d7b186
      schneems 提交于
      By formatting routes for different media (txt/html) we can apply optimizations based on the format. We can include meta-data in the HTML to allow a rich experience while rendering and viewing the routes. This PR shows route helpers as they are used with the `_path` extension, it also has a javascript toggle on the top to switch to `_url`. This way the developer can see the exact named route helper they can use instead of having to modify a base. 
      
      This is one example of an optimization that could be applied. Eventually we can link out to guides for the different columns to better explain what helper, HTTP Verb, Path, and Controller#action indicate. We could even add a route search box that could allow developers to input a given route and see all of the routes that match it. These are stand alone features and should be delivered separately.
      08d7b186
  11. 25 5月, 2012 1 次提交
    • S
      /rails/info/routes path shows routing information · cb44e0fe
      schneems 提交于
      Will show similar contents to the output of `$ rake routes` in the browser in development. This speeds the time required to generate routes, since the application is already initialized.
      cb44e0fe