aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3724 from marcandre/media_defaultYehuda Katz2011-11-221-0/+3
|\ | | | | stylesheet_tag default's media is "screen"
| * Make explicit the default media when calling stylesheet_tag and change the ↵Marc-Andre Lafortune2011-11-221-0/+3
| | | | | | | | default generators.
* | Merge pull request #3695 from tobiassvn/partial_path_errorYehuda Katz2011-11-191-2/+7
|\ \ | | | | | | Meaningful errors for unexpected partial arguments. Fixes #3573
| * | Meaningful errors for unexpected partial arguments. Fixes #3573Tobias Svensson2011-11-191-2/+7
| | |
* | | Don't html-escape the :count option to translate if it's a Numeric. Fixes #3685.Jon Leighton2011-11-191-1/+3
|/ /
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-11-181-1/+2
|\ \
| * | put back the removed egVijay Dev2011-11-181-0/+1
| | |
| * | Fix a number_with_delimiter :separator exampleEdward Anderson2011-11-171-1/+1
| | |
* | | _html translation should escape interpolated argumentslest2011-11-171-4/+9
| | |
* | | Revert "warn the user values are directly interpolated into _html ↵Xavier Noria2011-11-171-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | translation strings" Reason: After another round of discussion, it has been decided to let interpolation deal with unsafe strings as it should do. This reverts commit d57d8098fc269a26ea0051a9027a33af1a9a4b2b.
* | | warn the user values are directly interpolated into _html translation stringsXavier Noria2011-11-171-0/+2
| | |
* | | Fix impractical I18n lookup in nested fields_forAlexander Uvarov2011-11-171-1/+9
| | |
* | | Switch from marshal format to plain text for the encoding conversions dump. ↵Jon Leighton2011-11-163-6/+95
|/ / | | | | | | This is for windows compatibility. Fixes #3644.
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-11-131-2/+2
|\ \
| * | Cosmetic fix in number_to_currency docsAlexey Vakhov2011-11-101-2/+2
| | |
* | | Fix and simplify highlight regexpAlexey Vakhov2011-11-101-1/+1
|/ /
* | Fix small typo in link_to_function docAlexey Vakhov2011-11-081-1/+1
| |
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-11-061-2/+2
|\ \
| * | Docs cosmetic fixes in Action View form_helper.rbAlexey Vakhov2011-11-061-2/+2
| | |
* | | RUBY_ENGINE is not defined on 1.8Jon Leighton2011-11-061-1/+1
| | |
* | | Implement a workaround for a bug in ruby-1.9.3p0.Jon Leighton2011-11-062-0/+26
|/ / | | | | | | | | | | | | | | | | | | | | | | The bug is that an error would be raised while attempting to convert a template from one encoding to another. Please see http://redmine.ruby-lang.org/issues/5564 for more details. The workaround is to load all conversions into memory ahead of time, and will only happen if the ruby version is *exactly* 1.9.3p0. The hope is obviously that the underlying problem will be resolved in the next patchlevel release of 1.9.3.
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-11-051-2/+2
|\ \ | |/ |/|
| * Fix javascript_include_tag examples in documentationAlexey Vakhov2011-11-031-2/+2
| |
* | Remove 'size' attribute from number_field form helper fixes #3454Waseem Ahmad2011-11-041-0/+2
|/ | | | | f.number_field generates <input type="number", size="30"../> which is invalid HTML5. See: http://dev.w3.org/html5/spec/Overview.html#number-state
* 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.