aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/layouts_and_rendering.md
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Should be a symbol not string to defer the choice of layout.Limon Lin2013-03-151-1/+1
| | | | [ci skip]
* Fix bug in code example from layouts and rendering guideBrian Kim2013-02-181-1/+2
| | | | | The code in 2.3.2 assumed that render has an alert option like redirect_to to create a flash alert message, but it doesn't.
* Remove old asset tags API from docs, reflecting changes from #7900virusman2013-01-231-93/+0
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-01-091-1/+1
|\ | | | | | | | | Conflicts: guides/source/getting_started.md
| * prefer american spelling of 'behavior'Gosha Arinich2013-01-071-1/+1
| |
* | Change guides to use update instead of update_attributesAmparo Luna + Guillermo Iguaran2013-01-031-3/+3
|/
* Update guides/source/layouts_and_rendering.mdMarek Ovečka2012-12-301-1/+1
| | | | | Removed first slash. The subdirectory will nto be found with slash befor it.
* Remove references to Rails versions.Steve Klabnik2012-12-071-20/+3
| | | | | | | | There's no reason for guides to reference old behaviors. They should be current as of the versions of Rails that they ship with, and including older information just clutters thing. I discussed this change with @fxn and he agrees.
* Fixed grammar in a lot of guide prologues.Katie Oldaker2012-12-071-4/+4
|
* Normalize on 'After reading this guide, you will know:'Steve Klabnik2012-11-291-0/+2
| | | | | We have three or four different introduction sentences to the guides. After this commit, we use the same one everywhere.
* Add periods to the bullet points in guides.Steve Klabnik2012-11-291-4/+4
| | | | Talked with @fxn about this. Bullet points should have periods at the ends.
* Switch to 1.9 hash syntaxAgis Anastasopoulos2012-11-161-81/+78
|
* Fixed the wrong terminology usage in 2.2.2comptrol2012-11-031-1/+1
|
* AJAX -> Ajax in layouts_and_rendering guide.Henrik N2012-10-251-3/+3
| | | | Fixed in the JS guide in 8c38172ba59e16d8e523ac4f1c5ae29b6851d3ee
* Revert "divided into folder with the language"Rafael Mendonça França2012-10-171-0/+1243
| | | | | | This reverts commit f5b9ed4fbc3215a5fce48985ea372ad3f1182252. REASON: Translation work can not be done in the docrails repository
* divided into folder with the languageRodrigo Martins2012-10-171-1243/+0
|
* Fix broken and duplicate headingsPrem Sichanugrist2012-09-171-1/+1
|
* Fix remaining formatting problems in the guidePrem Sichanugrist2012-09-171-107/+107
|
* Convert all the links into Markdown formatPrem Sichanugrist2012-09-171-3/+3
|
* Convert all inline codes to Markdown syntaxPrem Sichanugrist2012-09-171-193/+193
|
* change shell to bashPrem Sichanugrist2012-09-171-3/+3
|
* Convert inline code tags to MarkdownPrem Sichanugrist2012-09-171-2/+2
|
* Convert heading tags and heading sectionPrem Sichanugrist2012-09-171-51/+55
|
* Convert code blocks into GFM stylePrem Sichanugrist2012-09-171-220/+220
|
* Rename the rest of the guides to MarkdownPrem Sichanugrist2012-09-171-0/+1239