aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
Commit message (Collapse)AuthorAgeFilesLines
...
* Add missing type to number_field_tag documentationPaul McMahon2011-10-281-1/+1
|
* scumbag 1.8: strings are enumerable :'(Aaron Patterson2011-10-261-1/+1
|
* properly handle lists of lists. Thanks @adrianpike for reporting!Aaron Patterson2011-10-251-1/+6
|
* Merge pull request #3314 from macmartine/masterSantiago Pastorino2011-10-131-1/+1
|\ | | | | Remove user-specified delimiter from start when no area code is present (in number_to_phone)
| * remove user-specified delimiter from start when no area code is present (in ↵Mac Martine2011-10-121-1/+1
| | | | | | | | number_to_phone)
* | Merge pull request #2219 from kommen/fix_fragment_caching_squashedSantiago Pastorino2011-10-131-1/+1
|/ | | | Fix fragment caching (squashed commits)
* Merge pull request #3196 from avakhov/patch-am-av-tests-2José Valim2011-10-091-1/+6
|\ | | | | Improve tests method for ActionView::TestCase and ActionMailer::TestCase
| * normalize arg for ActionView::TestCase tests methodAlexey Vakhov2011-10-031-1/+6
| |
* | Fixes an issue when creating a date select with too many options.Liborio Cannici2011-10-081-5/+10
| | | | | | | | | | | | | | | | | | | | Inspired by dlt https://github.com/dlt/rails/commit/9e615634745dc81598e7b880d52411338d3a7a93 Closes #239. Conflicts: actionpack/CHANGELOG
* | just check to see that the first item in the list is an arrayAaron Patterson2011-10-071-1/+1
| |
* | closes #3241 - partial doc fixVijay Dev2011-10-072-3/+3
| |
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-10-051-1/+1
|\ \
| * | missed underscore in AV::TestCase helper_method documentationAlexey Vakhov2011-10-031-1/+1
| | |
* | | Fix the lame config.action_controller.present? check scattered throughout ↵José Valim2011-10-051-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | assets_path. Conflicts: actionpack/test/template/sprockets_helper_test.rb
* | | Ensure default_asset_host_protocol is respected, closes #2980.José Valim2011-10-051-4/+1
| |/ |/|
* | Make button_to helper support "form" option which is the form attributes.Wen-Tien Chang2011-09-291-5/+15
|/
* escape options for the stylesheet_link_tag methodAlexey Vakhov2011-09-251-1/+1
|
* Use safe_constantize where possible.José Valim2011-09-231-3/+1
|
* Using #extract_details in PartialRenderer, too!Nick Sutterer2011-09-232-3/+1
|
* Allow both sym and array for details options in #render. using ↵Nick Sutterer2011-09-232-2/+13
| | | | LC#registered_details to extract options.
* Deprecate passing the template handler in the template name.José Valim2011-09-222-2/+7
| | | | | | For example, calling hello.erb is now deprecated. Since Rails 3.0 passing the handler had no effect whatsover. This commit simply deprecates such cases so we can clean up the code in later releases.
* Make handlers a registered detail.José Valim2011-09-221-6/+3
|
* Get rid of update_details in favor of passing details to find_template.José Valim2011-09-224-66/+33
|
* it is now possible to pass details options (:formats, :details, :locales, ↵Nick Sutterer2011-09-222-10/+19
| | | | ...) to #render, #find_template and friends. this doesn't change anything in global context.
* No need to recalculate the @details_key after update_details.José Valim2011-09-221-3/+2
|
* Slightly reorganize lookup context modules in order to better isolate cache ↵José Valim2011-09-211-100/+111
| | | | responsibilities.
* Allow asset tag helper methods to accept :digest => false option in order to ↵Santiago Pastorino2011-09-145-10/+11
| | | | completely avoid the digest generation.
* Fix asset_path relative_url_root methodSantiago Pastorino2011-09-131-3/+5
|
* always rewrite_relative_url_rootSantiago Pastorino2011-09-131-1/+1
|
* Remove odd asignationGuillermo Iguaran2011-09-121-1/+0
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-09-081-2/+2
|\
| * Fix grammar for content_tag_for and div_for docs.Hendy Tanata2011-09-051-2/+2
| |
* | Merge pull request #2872 from sikachu/content_tag_html_safeSantiago Pastorino2011-09-051-1/+1
|\ \ | | | | | | 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-1/+1
| | | | | | | | | 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-0/+8
|\ \ \ | | | | | | | | current_page? returns false for non-GET requests
| * | | current_page? returns false for non-GET requestsAlexey Vakhov2011-09-021-0/+8
| | | |
* | | | Merge pull request #2799 from tomstuart/3-1-stableSantiago Pastorino2011-09-051-3/+3
| |/ / |/| | | | | | | | Never return stored content from content_for when a block is given
* | | if ... nil? is more expensive than unlessMilan Dobrota2011-09-043-5/+5
| |/ |/|
* | Make `content_tag_for` and `div_for` accepts the array of recordsPrem Sichanugrist2011-09-041-5/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Improve examples: use each instead of for...inGabe Berke-Williams2011-08-311-1/+1
|/
* Tiny refactorSantiago Pastorino2011-08-251-4/+7
|
* Merge pull request #2491 from waynn/fix_symbolSantiago Pastorino2011-08-251-2/+2
|\ | | | | fix destructive stringify_keys for label_tag
| * fix destructive stringify_keys for label_tagWaynn Lue2011-08-111-2/+2
| |
* | Revert "Simplify JavaScriptHelper#escape_javascript"Santiago Pastorino2011-08-241-4/+6
| | | | | | | | | | | | This commit broke the build without any improvement. This reverts commit eb0b71478ad4c37fdc4ec77bf2cf7c6b65dd36c4.
* | Simplify JavaScriptHelper#escape_javascriptDaniel Schierbeck2011-08-241-7/+6
| | | | | | | | | | | | Use the Linus-style conditional. Also fix the documentation slightly. Signed-off-by: Andrew White <andyw@pixeltrix.co.uk>
* | Ensure regexp and hash key are UTF-8Andrew White2011-08-231-3/+10
| |
* | fix escape_javascript for unicode character \u2028.Teng Siong Ong2011-08-211-2/+3
| |
* | Use typewriter styling on url_for in documentationasmega2011-08-211-1/+1
| |
* | minor details revised in a gsubXavier Noria2011-08-181-1/+1
| | | | | | | | | | | | | | | | | | Regexps have a construct to express alternation of characters, which is character classes. In addition to being the most specific idiom to write this pattern, it reads better without the backslashes. Also, it is better not to use a capture if none is needed. As a side-effect of these changes, the gsub is marginally faster, but speed is not the point of this commit.
* | Properly escape glob characters.Aaron Patterson2011-08-161-3/+12
| |