Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |