aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
Commit message (Collapse)AuthorAgeFilesLines
* raises an ArgumentError if no valid options are given to ↵Lucas Mazza2011-12-211-0/+2
| | | | | | TemplateRenderer#determine_template Signed-off-by: José Valim <jose.valim@gmail.com>
* Check for response to `#last` instead of `#first`.Brian Rose2011-12-201-1/+1
|
* Ensure option for select helper responds to `#first` before comparison.Brian Rose2011-12-201-1/+1
|
* Merge pull request #4064 from nashby/date-helper-field-error-procJosé Valim2011-12-203-11/+11
|\ | | | | fix adding field_with_errors to date selects, closes #3487
| * fix adding field_with_errors to date selects, closes #3487Vasiliy Ermolovich2011-12-203-11/+11
| |
* | Check if source is encoding aware.José Valim2011-12-201-32/+30
| |
* | Do not hard code encoding to UTF8José Valim2011-12-202-48/+54
| |
* | don't encode an UTF-8 encoded templateXu Pan2011-12-201-1/+1
|/ | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge pull request #3780 from marcbowes/masterVijay Dev2011-12-161-7/+3
|\ | | | | Fix favicon_link_tag help text
| * * A `/` is required if you want to explicitly skip the assets directory. ↵Marc Bowes2011-11-281-7/+3
| | | | | | | | | | This is important because `public/assets` is typically git-ignored. * The asset id is no longer generated.
* | fix separator insertion in date_select helperSergey Nartimov2011-12-141-1/+2
| |
* | Clean up details keys before some tests to expire the cache.José Valim2011-12-141-0/+4
| |
* | dup the details hash if a key has already been set for this objectAaron Patterson2011-12-131-0/+1
| |
* | locale and default_locale may be the same, so uniq the arrayAaron Patterson2011-12-131-1/+1
| |
* | stop freezing the details hashAaron Patterson2011-12-131-2/+1
| |
* | stop freezing hash valueAaron Patterson2011-12-131-1/+1
| |
* | 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
| | |