Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove `:action` and `:controller` segments from routing guide | Will Jordan | 2016-08-22 | 1 | -25/+11 |
| | | | | | Fixes #26247. [ci skip] | ||||
* | Light grammar edits to beginning of Routing guide | Jon Moss | 2016-05-18 | 1 | -3/+3 |
| | | | | [ci skip] | ||||
* | Remove incorrect Rack documentation example | Jon Moss | 2016-03-07 | 1 | -2/+2 |
| | | | | | | | | | `Sprockets` does not respond to the call method, so I changed the example to use a fake `MyRackApp`. Closes #22579. [ci skip] | ||||
* | - Fixed and removed long arguments to rake routes | Vipul A M | 2016-02-12 | 1 | -5/+5 |
| | | | | | | - Fixed related documentation and usage all around Fixes #23561 | ||||
* | use rails command in routes task | yuuji.yaginuma | 2016-02-03 | 1 | -7/+7 |
| | | | | | 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 options for rake routes task | Vipul A M | 2016-02-02 | 1 | -3/+14 |
| | | | | | | | | | | 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] | ||||
* | Update the exception of format constraint in routes | Fernando Seror | 2016-01-23 | 1 | -0/+2 |
| | | | | | Per https://github.com/rails/rails/issues/20264 [ci skip] | ||||
* | use bin/rails default instead of rake commands [ci skip] | Gaurav Sharma | 2016-01-19 | 1 | -4/+4 |
| | | | I go through the `http://edgeguides.rubyonrails.org/` and found `rake` commands in various files that are in RAILS 5.0 implement by `bin/rails` command. I try to change all that can be directly use `bin/rails …` | ||||
* | Fix letter case and grammar in Routing guide | Dave Powers | 2015-12-22 | 1 | -1/+1 |
| | |||||
* | ApplicationRecord documentation pass | Genadi Samokovarov | 2015-12-17 | 1 | -3/+3 |
| | | | | | | | This is a pass over the documentation which fills the missing gaps of `ApplicationRecord`. [ci skip] | ||||
* | Merge pull request #22283 from the-undefined/routes-error-singular-resource | Arthur Nogueira Neves | 2015-11-28 | 1 | -2/+2 |
|\ | | | | | [ci skip] add `controller:` argument to routing.md | ||||
| * | [ci skip] add `controller:` argument to routing.md | the-undefined | 2015-11-13 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Passing a `Symbol` to the `to:` argument for a `get` route requires a `controller` argument to also be defined. The documentation is missing the `controller:` argument, which leaving out raises a routing exception: ```ruby get 'profile', to: :show ``` ``` $ rake routes ArgumentError: Missing :controller key on routes definition, please check your routes. ``` Adding the `controller:` argument maps the route correctly: ```ruby get 'profile', to: :show, controller: 'users' ``` ``` $ rake routes profile GET /profile(.:format) users#show ``` | ||||
* | | [ci skip] Replace "destroy` method" with `destroy` action` | yui-knk | 2015-10-20 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | Sure this is `destroy` method of PhotosController, but in this chapter these methods which mapped by the router are called "action". For example: ```ruby get '/patients/:id', to: 'patients#show' ``` is described to dispatch "controller's `show` action". | ||||
* | | [ci skip] Change 'an URL' to 'a URL' as URL doesn't have a vowel sound | tanmay3011 | 2015-10-06 | 1 | -1/+1 |
| | | |||||
* | | Update routing.md | Thiago Augusto | 2015-09-22 | 1 | -2/+2 |
|/ | |||||
* | Tiny documentation fixes [ci skip] | Robin Dupret | 2015-08-11 | 1 | -5/+5 |
| | |||||
* | Merge pull request #21177 from brooksreese/single_crud_operation | Claudio B. | 2015-08-09 | 1 | -1/+3 |
|\ | | | | | [ci skip] Note that each action maps to a specific CRUD operation | ||||
| * | [ci skip] Note that each action maps to a specific CRUD operation | Brooks Reese | 2015-08-09 | 1 | -1/+3 |
| | | |||||
* | | [ci skip] Add an explanation for `status` option | yui-knk | 2015-08-08 | 1 | -1/+5 |
|/ | |||||
* | Add note to routing guide about overriding defaults [ci skip] | Andrew White | 2015-08-03 | 1 | -0/+2 |
| | | | | Fixes #21085. | ||||
* | [ci skip] | yui-knk | 2015-08-01 | 1 | -0/+14 |
| | | | | | | | | | | | Add descriptions about `ActiveRecord::Base#to_param` to * `ActionDispatch::Routing::Base#match` * Overriding Named Route Parameters (guide) When passes `:param` to route definision, always `to_param` method of related model is overridden to constructe an URL by passing these model instance to named_helper. | ||||
* | A few documentation tweaks [ci skip] | Robin Dupret | 2015-06-07 | 1 | -2/+5 |
| | | | | [Robin Dupret & Shunsuke Aida] | ||||
* | s/snipped/snippet for @senny :trollface: | Zachary Scott | 2015-05-06 | 1 | -1/+1 |
| | |||||
* | Adding a note, snipped for brevity | Ankit Gupta | 2015-05-05 | 1 | -0/+2 |
| | | | | sudden ending of form looks incomplete and catches [ci skip] | ||||
* | Update routing.md | Jonan Scheffler | 2015-04-01 | 1 | -0/+12 |
| | | | | | | This adds instructions for routing to rack applications with mount instead of match. I just spent an unreasonable amount of time staring at this, hopefully the next person will save some time. It's possible that the docs should simply advise people to use mount and leave out the match method but I don't know enough about the differences in the two approaches to assert that definitively. | ||||
* | Merge branch 'master' of github.com:rails/docrails | Vijay Dev | 2015-03-26 | 1 | -1/+1 |
|\ | | | | | | | | | Conflicts: guides/source/4_0_release_notes.md | ||||
| * | Add backquote to :as option. | yui-knk | 2015-03-11 | 1 | -1/+1 |
| | | |||||
* | | [ci skip] Change to code element | yui-knk | 2015-03-11 | 1 | -1/+1 |
| | | |||||
* | | Fixing incorrect class name used in an example. | Kevin Jayanthan | 2015-03-02 | 1 | -1/+1 |
|/ | | | On "Controller Namespaces and Routing" section of the "Rails Routing from the Outside In" , the examples are using "AritclesController" as an example of a controller, to show different organizers. But on the line 232, it incorrectly uses "PostsController" instead of "AritclesController". | ||||
* | - Changed `IN` to `ON` in markdown renderer condition | Vipul A M | 2015-01-14 | 1 | -1/+1 |
| | | | | - Changed `IN` to `ON` in all note sentences in guides. | ||||
* | warn about reading guides in GitHub | Xavier Noria | 2014-12-23 | 1 | -0/+2 |
| | | | | References #18148. | ||||
* | Merge pull request #16799 from rramsden/fix-typo | Yves Senn | 2014-09-04 | 1 | -1/+1 |
|\ | | | | | [ci skip] Fix typo in rails guide for routing | ||||
| * | [ci skip] Fix typo in rails guide for routing | Richard Ramsden | 2014-09-04 | 1 | -1/+1 |
| | | |||||
* | | :nail_care: from #16329 [ci skip] | Zachary Scott | 2014-07-29 | 1 | -1/+1 |
| | | |||||
* | | Get request should not write to database note added. [skip ci] | Deepender Singla | 2014-07-29 | 1 | -0/+2 |
| | | |||||
* | | [ci skip] Fix code in Routing Guide | yuuji.yaginuma | 2014-07-21 | 1 | -1/+1 |
| | | |||||
* | | Add @senny's changed from #14741, including code font for `resources` | Zachary Scott | 2014-05-29 | 1 | -1/+4 |
| | | | | | | | | options, and wrapped to 80 chars. [ci skip] | ||||
* | | Merge branch 'master' of github.com:zackperdue/rails into zackperdue-master | Zachary Scott | 2014-05-29 | 1 | -0/+19 |
|\ \ | |||||
| * | | Added documentation for the :param option for resourceful routing | Zack Perdue | 2014-04-14 | 1 | -0/+19 |
| | | | |||||
* | | | Rename Posts to Articles in Guides, continuation of 2d446e77 / #13774 [ci skip] | John Kelly Ferguson | 2014-05-21 | 1 | -65/+65 |
| | | | |||||
* | | | Use generated binstubs in guides examples. | Josef Šimánek | 2014-05-20 | 1 | -1/+1 |
| | | | | | | | | | | | | [ci skip] | ||||
* | | | [ci skip] Minor improvements on routing.md. | Juanito Fatas | 2014-05-09 | 1 | -11/+11 |
|/ / | |||||
* | | Update documentation to use Rails.application instead | Marcel Morgan | 2014-04-13 | 1 | -2/+2 |
| | | | | | | | | | | | | | | References to ``AppName::Application` removed in favour of ``Rails.application`` as generated with a new rails 4.1 app. [ci skip] | ||||
* | | Be explicit about allowed constraint values, fixes #14702 | Jano Suchal | 2014-04-11 | 1 | -0/+2 |
| | | |||||
* | | Fixes docs typo in nested resource path helpers [skip ci] | Gareth du Plooy | 2014-02-26 | 1 | -18/+18 |
| | | |||||
* | | add patch in HTTP Verb Constraints [ci skip] | Angelo capilleri | 2014-02-11 | 1 | -1/+1 |
| | | |||||
* | | Allow an absolute controller path inside a module scope | Andrew White | 2014-01-05 | 1 | -0/+2 |
| | | | | | | | | Fixes #12777 | ||||
* | | Update explanation to match example | Steven Nunez | 2013-12-30 | 1 | -1/+1 |
| | | |||||
* | | Fixed typos in shallow routes and routing concerns | Ben Lewis | 2013-11-18 | 1 | -2/+2 |
| | | | | | | | | Grammatical tense correction: "There exists two" => "There exist two". Plurality correction: "can be reused inside others resources" => "can be reused inside other resources". | ||||
* | | [ci skip] Make all tables have Controller#Action, change a tense in sentence. | Juanito Fatas | 2013-10-31 | 1 | -90/+93 |
| | |