Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adding frozen_string_literal pragma to Railties. | Pat Allan | 2017-08-14 | 1 | -0/+2 |
| | |||||
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
| | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | ||||
* | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 1 | -0/+1 |
| | |||||
* | remove unused requires | yuuji.yaginuma | 2017-01-12 | 1 | -2/+0 |
| | | | | Related to 0129ca2eeb6d5b2ea8c6e6be38eeb770fe45f1fa, f7782812f7e727178e4a743aa2874c078b722eef, f9ed83321ac1d1902578a0aacdfe55d3db754219 | ||||
* | Remove deprecated CONTROLLER environment variable for routes task | Rafael Mendonça França | 2017-01-03 | 1 | -7/+0 |
| | |||||
* | Add three new rubocop rules | Rafael Mendonça França | 2016-08-16 | 1 | -1/+1 |
| | | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository. | ||||
* | applies new string literal convention in railties/lib | Xavier Noria | 2016-08-06 | 1 | -7/+7 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | register rake options to `OptionParser` | yuuji.yaginuma | 2016-04-25 | 1 | -0/+3 |
| | | | | | In order to prevent `OptionParser::ParseError` when specify the rake options to `routes` task. | ||||
* | - Fixed and removed long arguments to rake routes | Vipul A M | 2016-02-12 | 1 | -3/+3 |
| | | | | | | - Fixed related documentation and usage all around Fixes #23561 | ||||
* | use rails command in routes task | yuuji.yaginuma | 2016-02-03 | 1 | -3/+3 |
| | | | | | For other task has become to use the rails command at doc and test, I think that routes task also it is better to use the rails command. | ||||
* | Add spaces in the braces. | Kasper Timm Hansen | 2016-02-01 | 1 | -1/+1 |
| | | | | | | Solves personal insanity, since I was down in these files. (Please don't submit PRs like this.) | ||||
* | Add options for rake routes task | Vipul A M | 2016-02-02 | 1 | -2/+30 |
| | | | | | | | | | | Add two options: `-c` and `-g`. `-g` option returns the urls name, verb and path fields that match the pattern. `-c` option returns the urls for specific controller. Fixes #18902, and Fixes #20420 [Anton Davydov & Vipul A M] | ||||
* | split formatting concerns from RoutesInspector | Yves Senn | 2013-01-05 | 1 | -2/+2 |
| | |||||
* | Use Ruby 1.9 Hash syntax in railties | Robin Dupret | 2012-10-14 | 1 | -1/+1 |
| | |||||
* | Rename RouteInspector to RoutesInspector | Carlos Antonio da Silva | 2012-07-08 | 1 | -1/+1 |
| | | | | Follow the consistency defined in dbc43bc. | ||||
* | move route_inspector to actionpack | @schneems and @mattt | 2012-07-07 | 1 | -2/+2 |
| | | | | this is so we can show route output in the development when we get a routing error. Railties can use features of ActionDispatch, but ActionDispatch should not depend on Railties. | ||||
* | Rename RouteInspect to RoutesInspector for consistency | José Valim | 2012-06-29 | 1 | -2/+2 |
| | |||||
* | remove unused route reloading code | schneems | 2012-05-30 | 1 | -2/+0 |
| | | | Since the environment is initialized each time rake is run, routes don't need to be re-loaded. https://github.com/rails/rails/pull/6461#r869953 | ||||
* | I suck, forgot to also change rake's task description | Piotr Sarnacki | 2011-11-25 | 1 | -1/+1 |
| | |||||
* | Allow to display engine's routes when running `rake routes ENGINES=true` | Piotr Sarnacki | 2011-11-24 | 1 | -1/+1 |
| | |||||
* | move route inspecting to an object so that we can more easily test it | Aaron Patterson | 2011-09-09 | 1 | -31/+3 |
| | |||||
* | Improve formatting of route to Rack application in rake routes. | Hendy Tanata | 2011-07-17 | 1 | -3/+3 |
| | | | | | | | | | | This route: match 'foo/:id' => RackApp, :id => /[A-Z]\d{5}/ is shown as: /foo/:id(.:format) RackApp {:id=>/[A-Z]\d{5}/} | ||||
* | Better formatting of route requirements in rake:routes. | Hendy Tanata | 2011-07-16 | 1 | -1/+9 |
| | | | | | | | | | | Previously it was: {:controller=>"photos", :action=>"show", :id=>/[A-Z]\d{5}/} Now it becomes: photos#show {:id=>/[A-Z]\d{5}/} | ||||
* | Display custom asset routes in `rake routes` | Peter Suschlik | 2011-05-05 | 1 | -1/+1 |
| | |||||
* | Dont show the assets mount in rake routes | David Heinemeier Hansson | 2011-05-04 | 1 | -1/+2 |
| | |||||
* | Make rake routes gracefully handle routes with no name | Sam Ruby | 2010-08-29 | 1 | -5/+5 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Ensure we are not calling length on nil. | José Valim | 2010-08-28 | 1 | -5/+4 |
| | |||||
* | Read the route name directly from the route instead of looking it up in the ↵ | Andrew White | 2010-08-27 | 1 | -7/+1 |
| | | | | | | named routes hash Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Remove rails info route from rake routes output [#5452 state:resolved] | Andrew White | 2010-08-25 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Hide internal apps from rake routes [#5443 state:resolved] | José Valim | 2010-08-24 | 1 | -1/+1 |
| | |||||
* | Improve routes task code and print the application as :to => RackApp. [#5338 ↵ | José Valim | 2010-08-15 | 1 | -12/+24 |
| | | | | state:resolved] | ||||
* | make rake routes print the name of a Rack endpoint app [#5338 state:resolved] | Mark Turner | 2010-08-15 | 1 | -3/+5 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Avoid calls to Rails::Application since this is not the official API. | José Valim | 2010-07-01 | 1 | -1/+1 |
| | | | | Your application should *always* reference your application const (as Blog::Application) and Rails.application should be used just internally. | ||||
* | Add some comments related to Hash method check. | José Valim | 2010-05-16 | 1 | -0/+3 |
| | |||||
* | Fix Hash#index deprecated warning in 1.9.x [#4600 state:resolved] | Aleksandr Koss | 2010-05-16 | 1 | -1/+2 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Remove references to ActionDispatch::Routing::Routes in favor of ↵ | Carl Lerche | 2010-02-24 | 1 | -2/+2 |
| | | | | Rails.appication.routes. | ||||
* | Use ActionDispatch::Routing everywhere | Martin Schürrer | 2010-02-21 | 1 | -2/+2 |
| | |||||
* | Hide '/rails/info/properties' from 'rake routes' [#3793 state:resolved] | Prem Sichanugrist | 2010-02-02 | 1 | -0/+1 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Ensure namespaced controllers in engines work. | José Valim | 2010-01-24 | 1 | -0/+1 |
| | |||||
* | Restore `rake routes` [#3402 state:resolved] | Joshua Peek | 2009-10-24 | 1 | -6/+3 |
| | |||||
* | Move railties/lib/* into railties/lib/* | Yehuda Katz + Carl Lerche | 2009-09-24 | 1 | -0/+18 |