Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Deprecate `:nothing` option for render method | Mehmet Emin İNAÇ | 2015-05-28 | 1 | -1/+1 | |
| | | | | `head` method works similar to `render` method with `:nothing` option | |||||
* | Remove deprecation warning. | Guo Xiang Tan | 2015-05-22 | 1 | -1/+1 | |
| | | | | https://travis-ci.org/rails/rails/jobs/63594316#L1982 | |||||
* | revises a test to account for case-insensitive file systems | Xavier Noria | 2015-05-21 | 1 | -3/+19 | |
| | | | | | | | | | | | | The patched test assumed the file system is case-sensitive, but that is not necessarily the case. In particular, this test did not pass in the recommended setup for the dev box, because the /vagrant shared folder is case-insensitive. After looking at some gems that provide access to file system metadata I have chosen to go with the check you can see in the patch because, albeit it's a bit dirty creating a file, it is super easy to understand and clearly portable. References https://github.com/rails/rails-dev-box/issues/102. | |||||
* | fix for actionview parent layout bug | Mehmet Emin İNAÇ | 2015-04-08 | 1 | -0/+14 | |
| | | | | | | | This commit fixes issue #19626 Don't need to check layout conditions if there is no condition test for parent layout bug fix | |||||
* | Cleaning unused views from actionpack tests inside actionview | Thiago Pradi | 2015-03-14 | 1 | -1/+0 | |
| | ||||||
* | Merge pull request #18948 from kaspth/automatic-collection-caching | Rafael Mendonça França | 2015-02-25 | 1 | -0/+4 | |
|\ | | | | | Merge multi_fetch_fragments. | |||||
| * | Merge multi_fetch_fragments. | Kasper Timm Hansen | 2015-02-20 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | Makes caching a collection of template partials faster using `read_multi` on the Rails cache store. Some caching implementations have optimized `read_multi` so we don't have to check in the cache store for every template. | |||||
* | | Error message testing fix | Franky W | 2015-02-20 | 1 | -2/+2 | |
|/ | | | | | | | | | The testing of error messages have been implemented wrongly a few times. This is an attempt to fix it. For example, some of these test should have failed with the new code. The reason they are not failling with the new string is the fact they were not being tested beforehand. | |||||
* | use kwargs instead of xhr method. refs #18771. | yuuji.yaginuma | 2015-02-07 | 1 | -2/+2 | |
| | ||||||
* | Fixed test for deprecation warning in actionview, renaming from ↵ | Vipul A M | 2015-01-31 | 1 | -3/+3 | |
| | | | | https://github.com/rails/rails/commit/baf14ae513337cb185acf865e93dfc48f3aabf6a | |||||
* | Support `:assigns` option when rendering with controllers/mailers. | brainopia | 2015-01-22 | 1 | -0/+9 | |
| | ||||||
* | No need of requiring `rbconfig`, it is by-default loaded | Kuldeep Aggarwal | 2015-01-10 | 1 | -1/+0 | |
| | ||||||
* | Remove wrong TODO comment | Rafael Mendonça França | 2015-01-04 | 1 | -1/+1 | |
| | ||||||
* | Remove deprecated `AbstractController::Base::parent_prefixes` | Rafael Mendonça França | 2015-01-04 | 1 | -16/+0 | |
| | ||||||
* | Pass symbol as an argument instead of a block | Erik Michaels-Ober | 2014-11-29 | 1 | -1/+1 | |
| | ||||||
* | Revert "Revert "Merge pull request #16888 from jejacks0n/render_template"" | Godfrey Chan | 2014-09-26 | 1 | -18/+5 | |
| | | | | This reverts commit 585e75696b31395aee895e5366e331c07c3f5ee1. | |||||
* | Revert "Merge pull request #16888 from jejacks0n/render_template" | Godfrey Chan | 2014-09-23 | 1 | -5/+18 | |
| | | | | | | | This reverts commit 07635a74b5ee08dcba3f6617def6230d8f114fe5, reversing changes made to 1b5f61a025b6ce1ee52b7148e3ed2a9acbde28b9. Reason: it's not ready :bomb:, see https://github.com/rails/rails/pull/16888#issuecomment-56400816 | |||||
* | Changes default render behavior from file to template. | jejacks0n | 2014-09-11 | 1 | -18/+5 | |
| | ||||||
* | Added PartialIteration class used when rendering collections | Joel Junström | 2014-07-16 | 1 | -0/+18 | |
| | | | | | | | | | | | | 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] | |||||
* | Fixed borken tests in AV caused by 013c74d | Godfrey Chan | 2014-07-10 | 1 | -2/+2 | |
| | ||||||
* | Merge pull request #15590 from ↵ | Yves Senn | 2014-06-12 | 1 | -10/+23 | |
|\ | | | | | | | | | | | | | | | | | zuhao/refactor_actionview_register_template_handler Add unregister_template_handler to prevent leaks. Conflicts: actionview/CHANGELOG.md | |||||
| * | Add unregister_template_handler to prevent leaks. | Zuhao Wan | 2014-06-12 | 1 | -10/+15 | |
|/ | ||||||
* | Following documentation guideline | Rafael Mendonça França | 2014-05-14 | 1 | -4/+3 | |
| | ||||||
* | deprecate AbC:Base::parent_prefixes. | Nick Sutterer | 2014-05-13 | 1 | -0/+49 | |
| | | | | | | rename ::_local_prefixes to ::local_prefixes to state the public attribute. document the latter. make ::local_prefixes private, test overriding it and remove documentation for overriding ::_parent_prefixes. | |||||
* | Ensure that .process return the method return | Arthur Neves | 2014-05-06 | 2 | -9/+13 | |
| | ||||||
* | Unused class in AV test | Akira Matsuda | 2013-12-25 | 1 | -2/+0 | |
| | ||||||
* | Unused classes in AV tests | Akira Matsuda | 2013-12-24 | 1 | -6/+0 | |
| | ||||||
* | Prefer assert_raise instead of flunk + rescue to test for exceptions | Carlos Antonio da Silva | 2013-12-19 | 2 | -6/+6 | |
| | | | | | | Change most tests to make use of assert_raise returning the raised exception rather than relying on a combination of flunk + rescue to check for exception types/messages. | |||||
* | Fix integration test to pass same-origin verification | Jeremy Kemper | 2013-12-17 | 1 | -1/+1 | |
| | ||||||
* | More typo fixes | Akira Matsuda | 2013-11-27 | 1 | -1/+1 | |
| | ||||||
* | Minor typo fixes | Akira Matsuda | 2013-11-27 | 2 | -4/+4 | |
| | ||||||
* | Refactor File.expand_path usage to remove additional File.join | Alex Johnson | 2013-11-05 | 1 | -1/+1 | |
| | ||||||
* | Moved viewpathstest into actionview/test/actionpack/controller | Arun Agrawal | 2013-10-09 | 1 | -0/+174 | |
| | | | | These test were not running at all, Now it will run as a tests part. | |||||
* | Move abstract's controller tests to AV | Łukasz Strzałkowski | 2013-08-25 | 14 | -0/+886 | |
| | | | | The ones that were actually testing AV functionality and should belong in there | |||||
* | Move actionpack's controller tests | Łukasz Strzałkowski | 2013-08-25 | 3 | -11/+11 | |
| | ||||||
* | Move AP's capture tests to AV | Łukasz Strzałkowski | 2013-08-25 | 1 | -0/+81 | |
| | ||||||
* | Move remaining layouts tests to AV | Łukasz Strzałkowski | 2013-08-25 | 1 | -0/+262 | |
| | ||||||
* | Split rendering tests between AP & AV | Łukasz Strzałkowski | 2013-08-25 | 1 | -248/+13 | |
| | | | | All rendering test remain in AV. Head, ETag etc. test stay in AP | |||||
* | Move render_test to AV | Łukasz Strzałkowski | 2013-08-25 | 1 | -0/+1572 | |