Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' of github.com:rails/docrails | Vijay Dev | 2015-01-03 | 1 | -5/+5 |
|\ | |||||
| * | Fix "Rendering" not to link to AV::Rendering | claudiob | 2014-12-25 | 1 | -5/+5 |
| | | | | | | | | | | | | | | The "Rendering" word in the titles is not meant to be a link to the documentation for ActionView::Rendering. [ci skip] | ||||
* | | fix error message of option as with invalid charters in partial rendering | Angelo capilleri | 2014-12-29 | 1 | -2/+10 |
|/ | | | | | before this PR IDENTIFIER_ERROR_MESSAGE could lead to misunderstand the convention of partial name. Added OPTION_AS_ERROR_MESSAGE for unvalid charter in as option. | ||||
* | Fix warning in AV tests | Sean Griffin | 2014-11-25 | 1 | -2/+4 |
| | | | | Originally caused by #17771 | ||||
* | Local vars should exist in partials for falsy `:object:` values too | Agis- | 2014-11-25 | 1 | -2/+2 |
| | | | | | | | | | | | | c67005f221f102fe2caca231027d9b11cf630484 made the local var in partials available only if what passed to `:object` was truthy. For example this would not make the local variable `foo` available inside the partial: render partial: 'foo', object: false Fixes #17373. | ||||
* | marking private methods which dont work if called on their own anyways | Eugene Gilburg | 2014-07-18 | 1 | -0/+2 |
| | |||||
* | small refactors to actionview renderers | Eugene Gilburg | 2014-07-18 | 1 | -10/+10 |
| | |||||
* | Fix typo on the variable name | Rafael Mendonça França | 2014-07-16 | 1 | -8/+8 |
| | |||||
* | Document the PartialIteration object | Rafael Mendonça França | 2014-07-16 | 1 | -3/+9 |
| | |||||
* | Build only one PartialIteration object for loop | Rafael Mendonça França | 2014-07-16 | 1 | -11/+18 |
| | |||||
* | No need to have a file to PartialIteration class | Rafael Mendonça França | 2014-07-16 | 1 | -1/+17 |
| | | | | This class is only used on the PartialRenderer. | ||||
* | Added PartialIteration class used when rendering collections | Joel Junström | 2014-07-16 | 1 | -13/+28 |
| | | | | | | | | | | | | The iteration object is available as the local variable "template_name_iteration" when rendering partials with collections. It gives access to the +size+ of the collection beeing iterated over, the current +index+ and two convinicence methods +first?+ and +last?+ "template_name_counter" variable is kept but is deprecated. [Joel Junström + Lucas Uyezu] | ||||
* | Improve readability of sentence in partial-renderer docs [ci skip] | Mac Martine | 2013-11-19 | 1 | -1/+1 |
| | |||||
* | Move actionpack/lib/action_view* into actionview/lib | Piotr Sarnacki | 2013-06-20 | 1 | -0/+492 |