aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
Commit message (Collapse)AuthorAgeFilesLines
...
* | Include TagHelper but don't explicitly require itErik Michaels-Ober2011-12-122-2/+1
| | | | | | | | Allow autoloading to work as intended and avoid multiple requires.
* | Added :use_two_digit_numbers option [Lennart Fridén & Kim Persson]Lennart Fridén2011-12-111-3/+6
| | | | | | | | | | | | | | | | | | | | 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-112-0/+39
| | | | | | | | | | | | | | | | | | | | This support is near-identical to the existing submit_tag support. Example: <%= form_for @post do |f| %> <%= f.button %> <% end %>
* | Update partials documentation, partial_path is no longer generated using ↵Piotr Sarnacki2011-12-101-10/+13
| | | | | | | | RecordIdentifier
* | Simplify path traversal logicJosé Valim2011-12-091-7/+7
| |
* | load the encoding converter to work around [ruby-core:41556] when switching ↵Aaron Patterson2011-12-082-115/+0
| | | | | | | | encodings
* | Fix another regression related to the layout optimization.José Valim2011-12-081-0/+2
| |
* | Fix a regression and also fix broken test.José Valim2011-12-081-4/+9
| |
* | Revert accidental change from cattr_accessor to class_attribute.José Valim2011-12-081-1/+1
| |
* | Optimize layout lookup to avoid double calls.José Valim2011-12-082-8/+14
| |
* | Some small optimizations and improvements to benchmark code.José Valim2011-12-082-10/+10
| |
* | Remove #:nodoc: from partial renderer.José Valim2011-12-071-1/+1
| |
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-12-061-4/+4
|\ \
| * | Use do end for multiline block.Uģis Ozols2011-12-051-2/+2
| | |
| * | .rhtml and .rxml was removed in Rails 3.Uģis Ozols2011-12-051-2/+2
| | |
* | | form_for with +:as+ option uses "action_as" as css class and idVasiliy Ermolovich2011-12-041-2/+2
|/ /
* | minor typo fixVijay Dev2011-12-011-1/+1
| |
* | fix exception page when template contains utf-8 and parameters contain utf-8lest2011-11-301-1/+5
| |
* | Fixes for using action view template in isolation.José Valim2011-11-302-2/+11
| |
* | Handle correctly optional parameters for callable asset_host.Marc-Andre Lafortune2011-11-291-2/+2
| |
* | Revert "use any? to check for size"Vijay Dev2011-11-281-1/+1
|/ | | | This reverts commit c4af5f00f602b9e1c3166872902265836daf321b.
* add namespace options to form_forVasiliy Ermolovich2011-11-271-2/+9
| | | | | You can provide a namespace for your form to ensure uniqueness of id attributes on form elements. The namespace attribute will be prefixed with underscore on the generate HTML id
* fix label with block in erblest2011-11-271-2/+2
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-11-261-1/+1
|\
| * use any? to check for sizeVijay Dev2011-11-261-1/+1
| |
| * - Avoid using .first since it will create an additional query. Marc Chung2011-11-221-1/+1
| | | | | | - Handle scenario where @posts is empty.
* | 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