Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve docs of `ActionDispatch::Routing` | bogdanvlviv | 2018-03-13 | 1 | -3/+3 |
| | | | | | - Add a mention about `-g`. - Improve info about `--expanded` option of `rails routes`. | ||||
* | Add --expanded option to "rails routes" | Benoit Tigeot | 2018-02-28 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | When using rails routes with small terminal or complicated routes it can be very difficult to understand where is the element listed in header. psql had the same issue, that's why they created "expanded mode" you can switch using `\x` or by starting psql with ``` -x --expanded Turn on the expanded table formatting mode. This is equivalent to the \x command. ``` The output is similar to one implemented here for rails routes: db_user-# \du List of roles -[ RECORD 1 ]---------------------------------------------- Role name | super Attributes | Superuser, Create role, Create DB Member of | {} -[ RECORD 2 ]---------------------------------------------- Role name | role Attributes | Superuser, Create role, Create DB, Replication Member of | {} | ||||
* | Use frozen string literal in actionpack/ | Kir Shatrov | 2017-07-29 | 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 |
| | |||||
* | Reuse the Parameters#to_h check in the routing helpers | Rafael Mendonça França | 2017-04-18 | 1 | -9/+0 |
| | | | | | Since this protection is now in Parameters we can use it instead of reimplementing again. | ||||
* | [docs] fix ActionDispatch documentation | Hrvoje Šimić | 2017-03-13 | 1 | -1/+1 |
| | |||||
* | Fix Rubocop violations and fix documentation visibility | Rafael Mendonça França | 2016-12-28 | 1 | -1/+1 |
| | | | | | | Some methods were added to public API in 5b14129d8d4ad302b4e11df6bd5c7891b75f393c and they should be not part of the public API. | ||||
* | Missing require string/filters for `squish` | Akira Matsuda | 2016-11-15 | 1 | -0/+2 |
| | |||||
* | Merge branch 'master' of github.com:rails/docrails | Vijay Dev | 2016-06-03 | 1 | -4/+4 |
|\ | | | | | | | | | Conflicts: guides/source/action_cable_overview.md | ||||
| * | `routes.rb` --> `config/routes.rb` | Jon Moss | 2016-05-19 | 1 | -4/+4 |
| | | | | | | | | | | | | For consistency. [ci skip] | ||||
* | | Add back in Oxford Comma | Jon Moss | 2016-05-19 | 1 | -1/+1 |
| | | | | | | | | | | | | per [API documentation guidelines](http://edgeguides.rubyonrails.org/api_documentation_guidelines.html#oxford-comma) [ci skip] | ||||
* | | fix named route example [ci skip] | Jose Donizetti | 2016-05-19 | 1 | -3/+3 |
|/ | |||||
* | Add more info to insecure URL generation error | Derek Prior | 2016-04-26 | 1 | -0/+9 |
| | | | | | | | | I always appreciate having a bit more information as to why something is now an error. We can use this error to tell people why what they were previously doing is insecure and give them hints on how to fix it. Signed-off-by: Kasper Timm Hansen <kaspth@gmail.com> | ||||
* | [skip ci] Reorder paragraphs | Damir | 2016-03-10 | 1 | -3/+3 |
| | | | The previous order made sense [when `match` was used twice to point to two different actions](https://github.com/rails/rails/commit/7305ef842b675bf965f063de681a96294577fb84). In this case the note was misleading as posting to `/posts/:id` would still route to `show` action. | ||||
* | Fix typographical error | Gustavo Villa | 2016-02-22 | 1 | -1/+1 |
| | |||||
* | - Fixed and removed long arguments to rake routes | Vipul A M | 2016-02-12 | 1 | -2/+1 |
| | | | | | | - Fixed related documentation and usage all around Fixes #23561 | ||||
* | Add options for rake routes task | Vipul A M | 2016-02-02 | 1 | -1/+2 |
| | | | | | | | | | | 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] | ||||
* | Refer to rails command instead of rake in a bunch of places | David Heinemeier Hansson | 2015-12-18 | 1 | -1/+1 |
| | | | | Still more to do. Please assist! | ||||
* | Fix usage of word alternatively in docs [ci skip] | Abhishek Jain | 2015-10-06 | 1 | -1/+1 |
| | |||||
* | Update routing.rb | Harry V. Kiselev | 2015-09-20 | 1 | -0/+1 |
| | | | forgotten end of the block | ||||
* | File encoding is defaulted to utf-8 in Ruby >= 2.1 | Akira Matsuda | 2015-09-18 | 1 | -2/+0 |
| | |||||
* | Remove not used requires | Marcin Olichwirowicz | 2015-09-01 | 1 | -3/+0 |
| | |||||
* | Remove `assigns` and `assert_template`. | Guo Xiang Tan | 2015-05-30 | 1 | -1/+0 |
| | |||||
* | Add missing requires for require 'action_dispatch/routing' | Andrew White | 2014-05-15 | 1 | -0/+1 |
| | |||||
* | Update documentation to use Rails.application instead | Marcel Morgan | 2014-04-13 | 1 | -1/+1 |
| | | | | | | | References to ``AppName::Application` removed in favour of ``Rails.application`` as generated with a new rails 4.1 app. [ci skip] | ||||
* | Dry-up ActionDispatch::Routing autoloads | Genadi Samokovarov | 2013-06-04 | 1 | -5/+7 |
| | |||||
* | The HTTP method helpers are preferred over match and should be explained ↵ | Trevor Turk | 2013-03-18 | 1 | -28/+16 |
| | | | | before named routes | ||||
* | The default route has been removed | Trevor Turk | 2013-03-18 | 1 | -24/+0 |
| | |||||
* | Using match without via is deprecated | Trevor Turk | 2013-03-18 | 1 | -12/+12 |
| | |||||
* | Cleans and removes useless 'Examples' tag [ci skip] | Alvaro Pereyra | 2012-12-01 | 1 | -4/+0 |
| | |||||
* | 1.9 hash syntax changes to docs | AvnerCohen | 2012-10-31 | 1 | -24/+24 |
| | |||||
* | Support unicode character route in config/routes.rb. | kennyj | 2012-06-16 | 1 | -0/+7 |
| | |||||
* | Add config.default_method_for_update to support PATCH | David Lee | 2012-02-22 | 1 | -6/+9 |
| | | | | | | | | | | | | | | | | PATCH is the correct HTML verb to map to the #update action. The semantics for PATCH allows for partial updates, whereas PUT requires a complete replacement. Changes: * adds config.default_method_for_update you can set to :patch * optionally use PATCH instead of PUT in resource routes and forms * adds the #patch verb to routes to detect PATCH requests * adds #patch? to Request * changes documentation and comments to indicate support for PATCH This change maintains complete backwards compatibility by keeping :put as the default for config.default_method_for_update. | ||||
* | Fixing some double quotes that should be single quotes | Carol Nichols | 2012-01-29 | 1 | -2/+2 |
| | |||||
* | Clean up routes inclusion and add some comments for the next soul that ↵ | José Valim | 2012-01-03 | 1 | -5/+0 |
| | | | | decides to adventure on this code. | ||||
* | Remove autoload for non-existent file. | Uģis Ozols | 2011-12-15 | 1 | -1/+0 |
| | |||||
* | Also change the default route comment | Wen-Tien Chang | 2011-06-16 | 1 | -1/+1 |
| | |||||
* | added some fixed fonts | Sebastian Martinez | 2011-05-09 | 1 | -3/+3 |
| | |||||
* | add cross-references and documentation for scope | Jonathan Dance + Gabriel Horner | 2011-01-28 | 1 | -0/+12 |
| | |||||
* | Removed deprecated RouteSet API, still many tests fail | Piotr Sarnacki | 2010-09-05 | 1 | -1/+0 |
| | |||||
* | Move RoutesProxy to separate file | Piotr Sarnacki | 2010-09-03 | 1 | -0/+1 |
| | |||||
* | Rework the routing documentation. | Joost Baaij | 2010-08-28 | 1 | -22/+75 |
| | | | | | Move the default route to the bottom, as this practise should be discouraged. Add documentation for resources, external redirects and Rack applications. | ||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -4/+4 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | correct typos in Routing examples | Mislav Marohnić | 2010-07-22 | 1 | -3/+3 |
| | |||||
* | Moved PolymorphicRoutes to ActionDispatch::Routing | Piotr Sarnacki | 2010-07-20 | 1 | -2/+2 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Removed deprecated |map| block argument from routing docs since it is no ↵ | Steven Hancock | 2010-07-11 | 1 | -1/+1 |
| | | | | | | longer generated in edge Rails config/routes.rb Didn't touch plugins guide since I'm not too clear on how routes work in plugins. | ||||
* | API Docs: Fixes to the Routing docs | Rohit Arondekar | 2010-07-07 | 1 | -6/+4 |
| | |||||
* | 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. | ||||
* | Use h1 for titles. | Rizwan Reza | 2010-06-21 | 1 | -1/+1 |
| |