aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/layouts_and_rendering.md
Commit message (Collapse)AuthorAgeFilesLines
* Rack changed their status codes to IETF RFC 7231Benjamin Quorning2015-08-211-4/+3
| | | | rack/rack#754
* Deprecate `:nothing` option for render methodMehmet Emin İNAÇ2015-05-281-26/+0
| | | | `head` method works similar to `render` method with `:nothing` option
* Fix typos and improve the documentationJon Atack2015-04-151-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 linesyui-knk2015-04-011-2/+0
|
* Some documentation edits [ci skip]Robin Dupret2015-03-051-2/+3
| | | | | | * Fix a few typos * Wrap some lines around 80 chars * Rephrase some statements
* fix spelling, `ERb` -> `ERB` [ci skip]yuuji.yaginuma2015-03-041-1/+1
|
* Fix wording in template inheritance section of layout guide [ci skip]Prathamesh Sonpatki2015-02-271-1/+1
|
* Merge pull request #16738 from net-engine/guides-template-inheritanceRafael Mendonça França2015-02-251-0/+36
|\ | | | | Guides: Template Inheritance (new in guides, feature in since 3.1)
| * Merge remote-tracking branch 'origin/master' into guides-template-inheritanceecoologic2014-10-071-1/+2
| |\
| * | 2.2.14.5 Template Inheritance (new in guide, feature in since 3.1)erik2014-08-291-0/+36
| | |
* | | Merge pull request #15700 from maurogeorge/guides-local_assignsRafael Mendonça França2015-02-181-0/+30
|\ \ \ | | | | | | | | | | | | Add docs about local_assigns on guides
| * | | Add docs about local_assigns on guidesMauro George2014-06-131-0/+30
| | | | | | | | | | | | | | | | [ci skip]
* | | | fix syntax error in render partial example [ci skip]yuuji.yaginuma2015-02-151-2/+2
| | | |
* | | | Add :formats to options list of render documentation.Diogo Benicá2015-01-211-1/+11
| | | |
* | | | Merge pull request #18503 from vipulnsward/guides-in-onXavier Noria2015-01-141-1/+1
|\ \ \ \ | | | | | | | | | | Changed `IN` to `ON` in markdown renderer condition
| * | | | - Changed `IN` to `ON` in markdown renderer conditionVipul A M2015-01-141-1/+1
| | | | | | | | | | | | | | | | | | | | - Changed `IN` to `ON` in all note sentences in guides.
* | | | | Change a to an for HTML word [ci skip]Santosh Wadghule2015-01-131-1/+1
|/ / / /
* | | | Merge pull request #17974 from killthekitten/fix-render-blockRafael Mendonça França2015-01-021-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 partialNikolay Shebanov2014-12-191-0/+36
| | | | |
* | | | | warn about reading guides in GitHubXavier Noria2014-12-231-0/+2
| | | | | | | | | | | | | | | | | | | | References #18148.
* | | | | Describe gotcha for 'status' option [ci skip]J Connolly2014-12-221-0/+3
|/ / / /
* | | | [ci skip] Fix output of video_tag helperAnton Cherepanov2014-12-071-1/+4
| | | |
* | | | In render file, by default the current layout is rendered alwaysyuktikhurana2014-10-011-1/+1
| |_|/ |/| |
* | | Clean up grammar from #16752 [ci skip]Zachary Scott2014-08-301-2/+2
| | |
* | | [ci skip] add line about text layoutshruti27912014-08-301-1/+2
| |/ |/|
* | Merge branch 'master' of github.com:rails/docrailsVijay Dev2014-08-191-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 Tanata2014-08-081-1/+1
| | | | | | | | | | | | [skip ci]
* | | [ci skip] Fix sample code in Layouts and Rendering guideyuuji.yaginuma2014-08-171-1/+1
|/ /
* / Small typoAnton Cherepanov2014-06-231-1/+1
|/
* Rename Posts to Articles in Guides, continuation of 2d446e77 / #13774 [ci skip]John Kelly Ferguson2014-05-211-12/+12
|
* Do note remove `Content-Type` when `render :body`Prem Sichanugrist2014-03-051-2/+5
| | | | | | | | | | | | | `render :body` should just not set the `Content-Type` header. By removing the header, it breaks the compatibility with other parts. After this commit, `render :body` will returns `text/html` content type, sets by default from `ActionDispatch::Response`, and it will preserve the overridden content type if you override it. Fixes #14197, #14238 This partially reverts commit 3047376870d4a7adc7ff15c3cb4852e073c8f1da.
* Update guides for new rendering optionsPrem Sichanugrist2014-02-181-4/+36
| | | | | * Introduces `:plain`, `:html`, `:body` render option. * Update guide to use `render :plain` instead of `render :text`.
* Simplify doc [ci skip]Vijay Dev2014-02-091-1/+1
| | | | | | The `as` option was already explained in a previous example and doesn't need to be repeated. Explain only the `locals` option which the example is meant for.
* Merge pull request #13630 from seapy/masterVijay Dev2014-02-091-2/+2
|\ | | | | Fixed typo [ci skip]
| * Fixed typo [ci skip]seapy2014-01-081-2/+2
| | | | | | | | singular is more suited to
* | [ci skip] - error_messages_for has been deprecated since 2.3.8 - lets reduce ↵leriksen2014-01-101-2/+0
|/ | | | any confusion for users
* Improved documents [ci skip]Kuldeep Aggarwal2013-12-141-1/+1
|
* Typo and grammatical fixes [ci skip]Akshay Vishnoi2013-12-021-1/+1
|
* [ci skip] Fix curl response output and use strong parameters in update action.Juanito Fatas2013-11-131-4/+3
|
* Fix status code in documents [ci skip]Satoshi Ebisawa2013-08-011-3/+3
| | | | | RFC 6585 Additional HTTP Status Codes http://www.ietf.org/rfc/rfc6585.txt
* Cleaned up wording and tags.blahedo2013-07-061-2/+2
| | | | | | | | Replaced <br /> with <br> for consistency; Added note about singular/plural distinction (which was previously confusing to a Rails noob); Rephrased explanation of how form is routed to controller, again to reduce confusion; and added explanation to replace incorrect link. [ci skip]
* Using preferred find_by syntax in guidesCristian Planas2013-07-011-3/+3
|
* Fix layouts and rendering guide example using flash.now insteadCarlos Antonio da Silva2013-06-281-1/+1
| | | | Thanks @lintzchiang. [ci skip]
* Align table of HTTP status codes with set supported by current RackChase DuBois2013-04-141-2/+8
|
* Clarify arguments of head methodChase DuBois2013-04-141-1/+1
|
* Fixed typo [ci skip]Prathamesh Sonpatki2013-04-151-1/+1
|
* Tried to make the response status code table more readableIain Beeston2013-04-141-65/+65
| | | | By making it the last thing in it's section and adding pseudo row headers
* Added a table of html status symolsIain Beeston2013-04-071-1/+56
|
* [layout/rendering guide] move sentence to new line to follow convention in ↵Weston Platter2013-04-041-1/+3
| | | | other guides.
* [layout/rendering guide] remove redundant wordingWeston Platter2013-04-031-3/+1
|