aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template
Commit message (Collapse)AuthorAgeFilesLines
...
* No need to use </form> here. It's already in whole_form blockArun Agrawal2011-09-101-2/+1
|
* Merge pull request #2872 from sikachu/content_tag_html_safeSantiago Pastorino2011-09-051-0/+12
|\ | | | | Make sure that result from content_tag_for with collection is html_safe
| * Make sure that result from content_tag_for with collection is html_safePrem Sichanugrist2011-09-051-0/+12
| | | | | | Thank you @spastorino for catching the empty test in b84cee0, as I totally forgot that I still have to make it html_safe.
* | Merge pull request #2815 from avakhov/current-page-non-get-requestsSantiago Pastorino2011-09-051-2/+8
|\ \ | | | | | | current_page? returns false for non-GET requests
| * | current_page? returns false for non-GET requestsAlexey Vakhov2011-09-021-2/+8
| | |
* | | Merge pull request #2799 from tomstuart/3-1-stableSantiago Pastorino2011-09-051-0/+36
| | | | | | | | | | | | Never return stored content from content_for when a block is given
* | | add blanks between methodsVijay Dev2011-09-051-0/+3
| |/ |/|
* | Remove empty testSantiago Pastorino2011-09-051-3/+0
| |
* | Tests shouldn't produce warningsRay Baxter2011-09-041-0/+5
| |
* | Make `content_tag_for` and `div_for` accepts the array of recordsPrem Sichanugrist2011-09-041-2/+22
|/ | | | | | | | | | | | | | | So instead of having to do this: @items.each do |item| content_tag_for(:li, item) do Title: <%= item.title %> end end You can now do this: content_tag_for(:li, @items) do |item| Title: <%= item.title %> end
* Backport f443f9cb0c64 to masterGuillermo Iguaran2011-08-311-2/+4
|
* Removed Unused Variable. Arun Agrawal2011-08-261-1/+1
|
* Merge pull request #2491 from waynn/fix_symbolSantiago Pastorino2011-08-251-0/+6
|\ | | | | fix destructive stringify_keys for label_tag
| * fix destructive stringify_keys for label_tagWaynn Lue2011-08-111-0/+6
| |
* | Merge pull request #2644 from guilleiguaran/allow-assets-debuggingSantiago Pastorino2011-08-241-0/+2
|\ \ | | | | | | Add config.allow_debugging option
| * | Add config.allow_debugging option to determine if the debug_assets query ↵Guillermo Iguaran2011-08-241-0/+2
| | | | | | | | | | | | param can be passed by user
* | | Debug assets shouldn't ignore media type for stylesheets. Closes #2625Guillermo Iguaran2011-08-231-0/+3
|/ /
* | Ensure regexp and hash key are UTF-8Andrew White2011-08-231-1/+6
| |
* | Merge pull request #2411 from ai/debug_assets_by_configSantiago Pastorino2011-08-221-14/+6
|\ \ | | | | | | Debug assets by config
| * | Allow to debug assets by config.assets.debugAndrey A.I. Sitnik2011-08-221-14/+6
| | |
* | | fix escape_javascript for unicode character \u2028.Teng Siong Ong2011-08-211-0/+1
|/ /
* | Debug assets by default in development and test environmentsGuillermo Iguaran2011-08-181-6/+22
| |
* | Tags with invalid names should also be stripped in order to preventAaron Patterson2011-08-161-0/+7
| | | | | | | | XSS attacks. Thanks Sascha Depold for the report.
* | Unused variable removed.Arun Agrawal2011-08-151-4/+4
| |
* | deprecating process_view_pathsAaron Patterson2011-08-092-2/+2
| |
* | generate environment dependent asset digestsIlya Grigorik2011-08-041-0/+13
| | | | | | | | | | | | If two different environments are configured to use the pipeline, but one has an extra step (such as compression) then without taking the environment into account you may end up serving wrong assets
* | Merge pull request #2421 from pivotal-casebook/masterSantiago Pastorino2011-08-041-2/+2
|\ \ | | | | | | Simple_format should not edit it in place. (Fixes https://github.com/rails/rails/issues/1980)
| * | ActionView::Helpers::TextHelper#simple_format should not change the text in ↵Casebook Developer2011-08-041-2/+2
| | | | | | | | | | | | place. Now it duplicates it.
* | | Merge pull request #2356 from waynn/fix_symbolSantiago Pastorino2011-08-041-0/+24
|\ \ \ | |/ / |/| / | |/ fix stringify_keys destructive behavior for most FormTagHelper functions
| * fix stringify_keys destructive behavior for most FormTagHelper functionsWaynn Lue2011-08-031-0/+24
| | | | | | | | add four new tests to verify that the other three methods that called stringify_keys! are fixed. verified that the tests break in master without the code patch. Closes #2355
* | Rename new method to_path to to_partial_path to avoid conflicts with ↵José Valim2011-08-012-3/+3
|/ | | | File#to_path and similar.
* Instead of removing the instance variable just set it to nil, resolves the ↵Brian Cardarella2011-07-291-2/+2
| | | | warnings because of a missing instance variable
* Merge pull request #2034 from Casecommons/to_pathJosé Valim2011-07-282-0/+41
|\ | | | | Allow ActiveModel-compatible instances to define their own partial paths
| * Let ActiveModel instances define partial paths.Grant Hutchins & Peter Jaros2011-07-252-0/+41
| | | | | | | | | | | | Deprecate ActiveModel::Name#partial_path. Now you should call #to_path directly on ActiveModel instances.
* | Merge pull request #2095 from dgeb/issue-2094Aaron Patterson2011-07-261-0/+17
|\ \ | | | | | | Fixes overriding of options[:html][:remote] in form_for() (Issue #2094)
| * | added test case for fix to issue #2094Dan Gebhardt2011-07-161-0/+17
| | |
* | | use sprocket's append_path and assert_matchDamien Mathieu2011-07-261-26/+26
| |/ |/|
* | no need for an anonymous class on every setup callAaron Patterson2011-07-251-10/+9
| |
* | Merge pull request #2258 from thedarkone/no-file-statJosé Valim2011-07-251-2/+2
|\ \ | | | | | | Use shorter class-level File methods instead of going through File.stat
| * | Use shorter class-level File methods instead of going through File.stat.thedarkone2011-07-251-2/+2
| | |
* | | Make polymorphic_url calls go through application helpers again.thedarkone2011-07-251-1/+1
|/ / | | | | | | This brings back the ability to overwrite/extend url generating methods in application heleprs.
* | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-07-241-1/+1
|\ \
| * | Changed a few instances of of words in the API docs written in British ↵Oemuer Oezkir2011-07-241-1/+1
| | | | | | | | | | | | | | | | | | English to American English(according to Weber)
* | | just use normal ruby for stubbingAaron Patterson2011-07-231-5/+3
| | |
* | | Simple fix to the NoMethodError noted in #2177.Ben Woosley2011-07-231-1/+0
|/ / | | | | Unfortunately #respond_to?(:controller) won't work as suggested, nor will respond_to?(:params), as #controller is present and #params is delegated to #controller. #delegate makes respond_to? return true regardless whether the target responds to it.
* | Merge pull request #2046 from sikachu/master-test_fixSantiago Pastorino2011-07-171-2/+6
|\ \ | | | | | | Fix a wrong assertion on url_helper_test, and add missing `#html_safe?` a
| * | Fix a wrong assertion on url_helper_test, and refactor `html_safe` test to ↵Prem Sichanugrist2011-07-171-2/+6
| |/ | | | | | | be in its method
* / Added view template invalid name check, along with tests. No merges in commit.huskins2011-07-131-0/+9
|/
* Grouped select helperAndrew Radev2011-07-111-0/+36
| | | | FormBuilder#select now works with a nested data structure.
* config should always be an AS::InheritableOptions object. Closes #1992Santiago Pastorino2011-07-081-0/+4
|