aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Merge pull request #4296 from kuroda/negative_formatAaron Patterson2012-01-041-0/+7
|\ | | | | Infer currency negative format from positive one.
| * Infer currency negative format from positive one.Tsutomu Kuroda2012-01-051-0/+7
| | | | | | | | | | | | When a locale file sets the format of the positive currency value as '%n %u', the default negative currency format should be '-%n %u'.
* | Make sure that check_box helper return a safe bufferRafael Mendonça França2012-01-041-0/+1
|/
* Pass extensions to javascript_path and stylesheet_path helpers. Closes #3417Santiago Pastorino2012-01-031-0/+6
|
* Add font_path helper methodSantiago Pastorino2012-01-031-0/+20
|
* remove more conditions for Fiber available in ruby19Vishnu Atrai2011-12-311-1/+1
|
* content_for with flush parametergrentis2011-12-291-0/+55
|
* Revert "Merge pull request #4154 from nashby/include-blank-date-helper"Piotr Sarnacki2011-12-261-20/+0
| | | | | This reverts commit 76f0fa6066b78cd8f0e139dff4a7b65c96db5778, reversing changes made to 28cd098d99c52486aecb72aab39105d8abcd52ad.
* Merge pull request #4154 from nashby/include-blank-date-helperPiotr Sarnacki2011-12-261-0/+20
|\ | | | | a prompt string in include_blank option for date helpers
| * add ability to set a prompt string in include_blank option for date helpers, ↵Vasiliy Ermolovich2011-12-241-0/+20
| | | | | | | | closes #4143
* | remove checks for encodings availabilitySergey Nartimov2011-12-252-45/+41
| |
* | deprecate String#encoding_aware? and remove its usageSergey Nartimov2011-12-242-55/+49
|/
* raises an ArgumentError if no valid options are given to ↵Lucas Mazza2011-12-211-4/+11
| | | | TemplateRenderer#determine_template
* 'with_kcode' removed. Arun Agrawal2011-12-213-6/+0
| | | | Testing Sandbox removed.
* Remove unused conditions for 1.9Rahul P. Chaudhari2011-12-212-51/+24
|
* Ensure option for select helper responds to `#first` before comparison.Brian Rose2011-12-201-0/+18
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge pull request #4033 from nashby/date-helper-field-error-procJosé Valim2011-12-201-1/+24
|\ | | | | add failing tests for issue #3487
| * add failing tests for issue #3487Vasiliy Ermolovich2011-12-191-1/+24
| |
* | Remove deprecation warnings from Action Pack.José Valim2011-12-201-31/+1
|/
* fix separator insertion in date_select helperSergey Nartimov2011-12-141-0/+19
|
* Clean up details keys before some tests to expire the cache.José Valim2011-12-142-7/+5
|
* Added :use_two_digit_numbers option [Lennart Fridén & Kim Persson]Lennart Fridén2011-12-111-1/+18
| | | | | | | | | | Added use_two_digit_numbers select_tag option for displaying months and days with leading zeros without affecting the values (useful for e.g. ISO-style dates, 2011-08-01). Signed-off-by: José Valim <jose.valim@gmail.com> Conflicts: actionpack/CHANGELOG.md
* Add button_tag support to ActionView::Helpers::FormBuilder.Will Farrington2011-12-111-1/+3
| | | | | | | | | | This support is near-identical to the existing submit_tag support. Example: <%= form_for @post do |f| %> <%= f.button %> <% end %>
* only load converter if the encodings are differentAaron Patterson2011-12-091-1/+1
|