Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add :json type to auto_discovery_link_tag | Mike Gunderloy | 2017-05-20 | 1 | -1/+1 |
| | | | | | This allows auto_discovery_link_tag to support the JSON Feed standard. See https://jsonfeed.org/version/1 for more information. | ||||
* | [ci skip] Fully qualify missing template error. | Kasper Timm Hansen | 2017-02-11 | 1 | -1/+1 |
| | | | | Switch extension 👉 format as it's more apt here. | ||||
* | Add information on `:formats` option in action_view_overview.md | kenta-s | 2017-02-06 | 1 | -0/+2 |
| | |||||
* | Fix typo in guide: _articles should be _article | Matthew Eagar | 2017-02-03 | 1 | -1/+1 |
| | | | | | | | The guide contains a typo in the "local_assigns" section, where rendering a model named 'Article' via `render @articles` is shown to render a partial called `_articles.html.erb`, when in fact the necessary partial name is `_article.html.erb` | ||||
* | Fix small typo in Layouts and Rendering guide. [ci skip] | Conrad Beach | 2016-11-14 | 1 | -1/+1 |
| | | | Changed "same way they do" to "same way they are". | ||||
* | Use local variable instead of instance variable [ci skip] | Daniel Amireh | 2016-11-05 | 1 | -1/+1 |
| | | | Update render yield docs to use `search` local variable instead of `@q` instance variable | ||||
* | Merge branch 'master' of github.com:rails/docrails | Vijay Dev | 2016-09-20 | 1 | -0/+2 |
|\ | |||||
| * | :nail_care: [ci skip] | Prathamesh Sonpatki | 2016-09-07 | 1 | -1/+1 |
| | | |||||
| * | Document that redirect* don't halt exucution. We explain more on this ↵ | Vipul A M | 2016-09-06 | 1 | -0/+2 |
| | | | | | | | | behavior in 2.3.2, but dont specify that is not halting. Its better to not let developers be caught by surprise. [ci skip] | ||||
* | | [ci skip] Fixed commas according to Oxford comma in rdoc and guides | Andrey Molchanov | 2016-09-17 | 1 | -1/+1 |
|/ | |||||
* | Update the rendering guide to match the current behavior | Rafael Mendonça França | 2016-03-05 | 1 | -10/+9 |
| | | | | | | | | In the latest security releases render with a trailing slash no more call render :file. Also add a note about the security implications of using it with user parameters. | ||||
* | Change 'a HTTP' to 'an HTTP' [ci skip] | Santosh Wadghule | 2016-03-03 | 1 | -1/+1 |
| | |||||
* | Fix grammar `a` to `an` [ci skip] | Ryuta Kamizono | 2016-02-13 | 1 | -1/+1 |
| | |||||
* | remove description of `render :nothing` from guide [ci skip] | yuuji.yaginuma | 2016-02-09 | 1 | -1/+1 |
| | | | | `:nothing` option was deprecated in 44781b6e9790d90b4f8b9a41d2b2c114b1a582ee | ||||
* | Make text about render :html option clearer to state, text will get escaped ↵ | Vipul A M | 2016-01-19 | 1 | -1/+1 |
| | | | | | | | if not marked as safe by using html_safe Fixes #22648 [ci skip] | ||||
* | remove content_tag_for example | Ryo Hashimoto | 2015-12-22 | 1 | -7/+5 |
| | |||||
* | Deprecate `redirect_to :back` | Derek Prior | 2015-12-16 | 1 | -9/+4 |
| | | | | | | | Applications that use `redirect_to :back` can be forced to 500 by clients that do not send the HTTP `Referer` (sic) header. `redirect_back` requires the user to consider this possibility up front and avoids this trivially-caused application error. | ||||
* | Add `redirect_back` for safer referrer redirects | Derek Prior | 2015-12-16 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | | `redirect_to :back` is a somewhat common pattern in Rails apps, but it is not completely safe. There are a number of circumstances where HTTP referrer information is not available on the request. This happens often with bot traffic and occasionally to user traffic depending on browser security settings. When there is no referrer available on the request, `redirect_to :back` will raise `ActionController::RedirectBackError`, usually resulting in an application error. `redirect_back` takes a required `fallback_location` keyword argument that specifies the redirect when the referrer information is not available. This prevents 500 errors caused by `ActionController::RedirectBackError`. | ||||
* | Fix typo in docs [ci skip] | Scott González | 2015-10-07 | 1 | -1/+1 |
| | |||||
* | Add a missing period to layouts_and_rendering.md [ci skip] | Juanito Fatas | 2015-09-24 | 1 | -1/+1 |
| | |||||
* | Rack changed their status codes to IETF RFC 7231 | Benjamin Quorning | 2015-08-21 | 1 | -4/+3 |
| | | | | rack/rack#754 | ||||
* | Deprecate `:nothing` option for render method | Mehmet Emin İNAÇ | 2015-05-28 | 1 | -26/+0 |
| | | | | `head` method works similar to `render` method with `:nothing` option | ||||
* | Fix typos and improve the documentation | Jon Atack | 2015-04-15 | 1 | -3/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a squash of the following commits, from first to last: - Fix minor, random things I’ve come across lately that individually did not seem worth making a PR for, so I saved them for one commit. One common error is using “it’s” (which is an abbreviation of “it is”) when the possessive “its” should be used for indicating possession. - Changes include the name of a test, so remove the `[skip ci]` (thanks @senny). - Line wrap the changes at 80 chars and add one more doc fix. - Add a missing line wrap in the Contributing to Ruby on Rails Guide. - Line wrap the `TIP` section in the Contributing to Ruby on Rails Guide as well. Rendering the guide locally with `bundle exec rake guides:generate` did not show any change in on-screen formatting after adding the line wrap. The HTML generated is (extra line added to illustrate where the line wrap takes place): <div class="info"><p>Please squash your commits into a single commit when appropriate. This simplifies future cherry picks and also keeps the git log clean.</p></div> - Squash commits. | ||||
* | [ci skip] Remove unnecessary lines | yui-knk | 2015-04-01 | 1 | -2/+0 |
| | |||||
* | Some documentation edits [ci skip] | Robin Dupret | 2015-03-05 | 1 | -2/+3 |
| | | | | | | * Fix a few typos * Wrap some lines around 80 chars * Rephrase some statements | ||||
* | fix spelling, `ERb` -> `ERB` [ci skip] | yuuji.yaginuma | 2015-03-04 | 1 | -1/+1 |
| | |||||
* | Fix wording in template inheritance section of layout guide [ci skip] | Prathamesh Sonpatki | 2015-02-27 | 1 | -1/+1 |
| | |||||
* | Merge pull request #16738 from net-engine/guides-template-inheritance | Rafael Mendonça França | 2015-02-25 | 1 | -0/+36 |
|\ | | | | | Guides: Template Inheritance (new in guides, feature in since 3.1) | ||||
| * | Merge remote-tracking branch 'origin/master' into guides-template-inheritance | ecoologic | 2014-10-07 | 1 | -1/+2 |
| |\ | |||||
| * | | 2.2.14.5 Template Inheritance (new in guide, feature in since 3.1) | erik | 2014-08-29 | 1 | -0/+36 |
| | | | |||||
* | | | Merge pull request #15700 from maurogeorge/guides-local_assigns | Rafael Mendonça França | 2015-02-18 | 1 | -0/+30 |
|\ \ \ | | | | | | | | | | | | | Add docs about local_assigns on guides | ||||
| * | | | Add docs about local_assigns on guides | Mauro George | 2014-06-13 | 1 | -0/+30 |
| | | | | | | | | | | | | | | | | [ci skip] | ||||
* | | | | fix syntax error in render partial example [ci skip] | yuuji.yaginuma | 2015-02-15 | 1 | -2/+2 |
| | | | | |||||
* | | | | Add :formats to options list of render documentation. | Diogo Benicá | 2015-01-21 | 1 | -1/+11 |
| | | | | |||||
* | | | | Merge pull request #18503 from vipulnsward/guides-in-on | Xavier Noria | 2015-01-14 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | Changed `IN` to `ON` in markdown renderer condition | ||||
| * | | | | - 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. | ||||
* | | | | | Change a to an for HTML word [ci skip] | Santosh Wadghule | 2015-01-13 | 1 | -1/+1 |
|/ / / / | |||||
* | | | | Merge pull request #17974 from killthekitten/fix-render-block | Rafael Mendonça França | 2015-01-02 | 1 | -0/+36 |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make possible to use blocks with short version of render partial Conflicts: actionview/CHANGELOG.md | ||||
| * | | | | Make possible to use blocks with short version of render partial | Nikolay Shebanov | 2014-12-19 | 1 | -0/+36 |
| | | | | | |||||
* | | | | | warn about reading guides in GitHub | Xavier Noria | 2014-12-23 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | References #18148. | ||||
* | | | | | Describe gotcha for 'status' option [ci skip] | J Connolly | 2014-12-22 | 1 | -0/+3 |
|/ / / / | |||||
* | | | | [ci skip] Fix output of video_tag helper | Anton Cherepanov | 2014-12-07 | 1 | -1/+4 |
| | | | | |||||
* | | | | In render file, by default the current layout is rendered always | yuktikhurana | 2014-10-01 | 1 | -1/+1 |
| |_|/ |/| | | |||||
* | | | Clean up grammar from #16752 [ci skip] | Zachary Scott | 2014-08-30 | 1 | -2/+2 |
| | | | |||||
* | | | [ci skip] add line about text layout | shruti2791 | 2014-08-30 | 1 | -1/+2 |
| |/ |/| | |||||
* | | Merge branch 'master' of github.com:rails/docrails | Vijay Dev | 2014-08-19 | 1 | -1/+1 |
|\ \ | | | | | | | | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/mime_responds.rb actionview/lib/action_view/vendor/html-scanner/html/sanitizer.rb activerecord/lib/active_record/type/value.rb | ||||
| * | | Uppercase HTML in docs. | Hendy Tanata | 2014-08-08 | 1 | -1/+1 |
| | | | | | | | | | | | | [skip ci] | ||||
* | | | [ci skip] Fix sample code in Layouts and Rendering guide | yuuji.yaginuma | 2014-08-17 | 1 | -1/+1 |
|/ / | |||||
* / | Small typo | Anton Cherepanov | 2014-06-23 | 1 | -1/+1 |
|/ | |||||
* | Rename Posts to Articles in Guides, continuation of 2d446e77 / #13774 [ci skip] | John Kelly Ferguson | 2014-05-21 | 1 | -12/+12 |
| |