aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template
Commit message (Collapse)AuthorAgeFilesLines
...
* Add collection_check_boxes helperCarlos Antonio da Silva2012-02-021-1/+227
| | | | [Carlos Antonio da Silva + Rafael Mendonça França]
* Create collection_radio_buttons helperCarlos Antonio da Silva2012-02-021-0/+174
| | | | [Carlos Antonio da Silva + Rafael Mendonça França]
* Replicate :form html5 attribute to hidden field for check_boxCarlos Antonio da Silva2012-02-021-3/+10
| | | | | When the new html5 attribute :form is given to the check_box helper, it should be replicated to the hidden field as well. Closes #4848
* Merge pull request #4804 from rafaelfranca/check_box-fixJosé Valim2012-02-011-0/+4
|\ | | | | check_box with nil as unchecked value should be HTML safe
| * check_box with nil as unchecked value should be HTML safeRafael Mendonça França2012-01-311-0/+4
| | | | | | | | [Carlos Antonio da Silva + Rafael Mendonça França]
* | Move escape_once logic to ERB::Util, where it belongs toCarlos Antonio da Silva2012-02-011-0/+14
| | | | | | | | | | | | All the logic is based on the HTML_ESCAPE constant available in ERB::Util, so it seems more logic to have the entire method there and just delegate the helper to use it.
* | Merge pull request #4672 from carlosantoniodasilva/av-url-helperJosé Valim2012-02-011-8/+8
|\ \ | | | | | | Improvements on some url helper methods and tests
| * | Change OrderedHash with array options to simple hash usageCarlos Antonio da Silva2012-01-251-8/+8
| | |
* | | Remove slash from favicon_link_tag method attributeLucas Caton2012-01-311-1/+1
| |/ |/|
* | tiny refactoringVasiliy Ermolovich2012-01-291-3/+3
| | | | | | | | | | use :default option with translate method instead of condition simplify separator method
* | Do not generate label for attribute when giving nilCarlos Antonio da Silva2012-01-261-0/+4
| |
* | reuse common video/audio tags code and do not modify optionsSergey Nartimov2012-01-261-0/+8
| |
* | do not modify options in image_tagSergey Nartimov2012-01-261-0/+6
| |
* | allow to pass multiple sources to audio/video tags without using arraySergey Nartimov2012-01-251-0/+2
|/
* Do not mutate given options hash in number helpersCarlos Antonio da Silva2012-01-251-0/+25
|
* Make audio_tag able to receive multiple sourcesJanko Marohnić2012-01-251-0/+2
|
* Make path_to_video in video_tag apply to each sourceJanko Marohnić2012-01-251-2/+2
|
* Remove unused variables to avoid warningsRafael Mendonça França2012-01-241-3/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge pull request #4641 from rafaelfranca/date_select-fix-3-2José Valim2012-01-241-1/+38
| | | | date_select fixes [3-2-stable]
* Raise a better error if anyone wants to create your own ↵Rafael Mendonça França2012-01-231-0/+8
| | | | ActionView::Helpers::Tags::Base child and do not implement the render method
* Raise exception when date.order includes invalid elementsIndrek Juhkam2012-01-221-0/+8
|
* Fix inconsistent ability to use a range as choices for select_tag.Jeremy Walker2012-01-211-0/+16
|
* Removed unused assigns from ActionView::Template::Errorbrainopia2012-01-201-2/+2
| | | | | They existed since initial rails commit by DHH but lost use a long time ago
* Added format to percentageRodrigo Flores2012-01-201-0/+1
|
* Refactor button_to helper to use token_tag methodRafael Mendonça França2012-01-192-5/+24
|
* ActionView now has its own loggerRafael Mendonça França2012-01-181-3/+1
|
* Fix warning: assigned but unused variable - resultkennyj2012-01-191-1/+1
|
* Fix errors when running entire suite due to class name collisionCarlos Antonio da Silva2012-01-181-23/+23
| | | | | | | | | The Post class is created everywhere in the test suite, and due to that when applying the Array() logic to refactor content_tag_for, some other change to the Post class was breaking record tag tests. The solution is to rename the class to not collide with others already defined in the test suite.
* Cleanup Post model, no need to require fake_modelsCarlos Antonio da Silva2012-01-181-17/+6
|
* Do not mutate options hashCarlos Antonio da Silva2012-01-181-0/+6
|
* Cleanup persisted setup for modelCarlos Antonio da Silva2012-01-181-7/+7
|
* Mimic AR models yielding when building new records, avoid using tapCarlos Antonio da Silva2012-01-181-6/+8
|
* No need for concat as wellCarlos Antonio da Silva2012-01-181-4/+4
|
* Add test for content tag with prefix and extra html optionsCarlos Antonio da Silva2012-01-181-4/+10
|
* Merge pull request #4488 from rafaelfranca/av-refactorXavier Noria2012-01-171-0/+4
|\ | | | | ActionView::Helpers::FormHelper refactoring
| * Adding one test case for label with blockRafael Mendonça França2012-01-171-0/+4
| |
* | Remove rescue_action from compatibility module and testsCarlos Antonio da Silva2012-01-172-15/+2
|/
* removed unnecessary test_pass test from form_tag_helper_test.rbKarunakar (Ruby)2012-01-131-4/+0
|
* Handle leading spaces in protocol while sanitizingManu2012-01-121-1/+8
|
* instance_variables method returns symbols in 1.9 rubySergey Nartimov2012-01-071-1/+1
|
* Merge pull request #4369 from lest/remove-warningsPiotr Sarnacki2012-01-071-2/+2
|\ | | | | use stub instead of redefining method to suppress warnings
| * use stub instead of redefining method to suppress warningsSergey Nartimov2012-01-071-2/+2
| |
* | add benchmark helper that works in erbSergey Nartimov2012-01-071-0/+24
|/
* don't set the hidden checkbox value if it's nilDamien Mathieu2012-01-061-0/+8
|
* Do not stub id hereSantiago Pastorino2012-01-061-6/+6
|
* Revert "Revert "More 1.9 way""Santiago Pastorino2012-01-061-0/+2
| | | | | Fixed failing tests This reverts commit 8350ce97f2065eed9638c595d3938a573d6fa343.
* AP tests should inherit from AS::TestCaseAaron Patterson2012-01-059-10/+10
|
* check_box helper with :disabled => true generates disabled hidden field. ↵Tadas Tamošauskas2012-01-051-4/+3
| | | | fixes #1953
* remove obsolete commented asserts in TextHelper testsSergey Nartimov2012-01-061-6/+0
|
* Moved all the logger methods to active support loggerKarunakar (Ruby)2012-01-061-1/+1
| | | | minor