Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | normalize arg for ActionView::TestCase tests method | Alexey Vakhov | 2011-10-03 | 1 | -1/+6 | |
| | | ||||||
* | | Fixes an issue when creating a date select with too many options. | Liborio Cannici | 2011-10-08 | 1 | -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 array | Aaron Patterson | 2011-10-07 | 1 | -1/+1 | |
| | | ||||||
* | | closes #3241 - partial doc fix | Vijay Dev | 2011-10-07 | 2 | -3/+3 | |
| | | ||||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2011-10-05 | 1 | -1/+1 | |
|\ \ | ||||||
| * | | missed underscore in AV::TestCase helper_method documentation | Alexey Vakhov | 2011-10-03 | 1 | -1/+1 | |
| | | | ||||||
* | | | Fix the lame config.action_controller.present? check scattered throughout ↵ | José Valim | 2011-10-05 | 1 | -13/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | assets_path. Conflicts: actionpack/test/template/sprockets_helper_test.rb | |||||
* | | | Ensure default_asset_host_protocol is respected, closes #2980. | José Valim | 2011-10-05 | 1 | -4/+1 | |
| |/ |/| | ||||||
* | | Make button_to helper support "form" option which is the form attributes. | Wen-Tien Chang | 2011-09-29 | 1 | -5/+15 | |
|/ | ||||||
* | escape options for the stylesheet_link_tag method | Alexey Vakhov | 2011-09-25 | 1 | -1/+1 | |
| | ||||||
* | Use safe_constantize where possible. | José Valim | 2011-09-23 | 1 | -3/+1 | |
| | ||||||
* | Using #extract_details in PartialRenderer, too! | Nick Sutterer | 2011-09-23 | 2 | -3/+1 | |
| | ||||||
* | Allow both sym and array for details options in #render. using ↵ | Nick Sutterer | 2011-09-23 | 2 | -2/+13 | |
| | | | | LC#registered_details to extract options. | |||||
* | Deprecate passing the template handler in the template name. | José Valim | 2011-09-22 | 2 | -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é Valim | 2011-09-22 | 1 | -6/+3 | |
| | ||||||
* | Get rid of update_details in favor of passing details to find_template. | José Valim | 2011-09-22 | 4 | -66/+33 | |
| | ||||||
* | it is now possible to pass details options (:formats, :details, :locales, ↵ | Nick Sutterer | 2011-09-22 | 2 | -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é Valim | 2011-09-22 | 1 | -3/+2 | |
| | ||||||
* | Slightly reorganize lookup context modules in order to better isolate cache ↵ | José Valim | 2011-09-21 | 1 | -100/+111 | |
| | | | | responsibilities. | |||||
* | Allow asset tag helper methods to accept :digest => false option in order to ↵ | Santiago Pastorino | 2011-09-14 | 5 | -10/+11 | |
| | | | | completely avoid the digest generation. | |||||
* | Fix asset_path relative_url_root method | Santiago Pastorino | 2011-09-13 | 1 | -3/+5 | |
| | ||||||
* | always rewrite_relative_url_root | Santiago Pastorino | 2011-09-13 | 1 | -1/+1 | |
| | ||||||
* | Remove odd asignation | Guillermo Iguaran | 2011-09-12 | 1 | -1/+0 | |
| | ||||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2011-09-08 | 1 | -2/+2 | |
|\ | ||||||
| * | Fix grammar for content_tag_for and div_for docs. | Hendy Tanata | 2011-09-05 | 1 | -2/+2 | |
| | | ||||||
* | | Merge pull request #2872 from sikachu/content_tag_html_safe | Santiago Pastorino | 2011-09-05 | 1 | -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_safe | Prem Sichanugrist | 2011-09-05 | 1 | -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-requests | Santiago Pastorino | 2011-09-05 | 1 | -0/+8 | |
|\ \ \ | | | | | | | | | current_page? returns false for non-GET requests | |||||
| * | | | current_page? returns false for non-GET requests | Alexey Vakhov | 2011-09-02 | 1 | -0/+8 | |
| | | | | ||||||
* | | | | Merge pull request #2799 from tomstuart/3-1-stable | Santiago Pastorino | 2011-09-05 | 1 | -3/+3 | |
| |/ / |/| | | | | | | | | Never return stored content from content_for when a block is given | |||||
* | | | if ... nil? is more expensive than unless | Milan Dobrota | 2011-09-04 | 3 | -5/+5 | |
| |/ |/| | ||||||
* | | Make `content_tag_for` and `div_for` accepts the array of records | Prem Sichanugrist | 2011-09-04 | 1 | -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...in | Gabe Berke-Williams | 2011-08-31 | 1 | -1/+1 | |
|/ | ||||||
* | Tiny refactor | Santiago Pastorino | 2011-08-25 | 1 | -4/+7 | |
| | ||||||
* | Merge pull request #2491 from waynn/fix_symbol | Santiago Pastorino | 2011-08-25 | 1 | -2/+2 | |
|\ | | | | | fix destructive stringify_keys for label_tag | |||||
| * | fix destructive stringify_keys for label_tag | Waynn Lue | 2011-08-11 | 1 | -2/+2 | |
| | | ||||||
* | | Revert "Simplify JavaScriptHelper#escape_javascript" | Santiago Pastorino | 2011-08-24 | 1 | -4/+6 | |
| | | | | | | | | | | | | This commit broke the build without any improvement. This reverts commit eb0b71478ad4c37fdc4ec77bf2cf7c6b65dd36c4. | |||||
* | | Simplify JavaScriptHelper#escape_javascript | Daniel Schierbeck | 2011-08-24 | 1 | -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-8 | Andrew White | 2011-08-23 | 1 | -3/+10 | |
| | | ||||||
* | | fix escape_javascript for unicode character \u2028. | Teng Siong Ong | 2011-08-21 | 1 | -2/+3 | |
| | | ||||||
* | | Use typewriter styling on url_for in documentation | asmega | 2011-08-21 | 1 | -1/+1 | |
| | | ||||||
* | | minor details revised in a gsub | Xavier Noria | 2011-08-18 | 1 | -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 Patterson | 2011-08-16 | 1 | -3/+12 | |
| | | ||||||
* | | We need [] method here. previously it's an array. | Arun Agrawal | 2011-08-13 | 1 | -0/+4 | |
| | | ||||||
* | | Remove 'parameters_for_url' parameter from 'form_tag' method signature | Gonzalo Rodriguez and Leonardo Capillera | 2011-08-10 | 1 | -4/+4 | |
| | | | | | | | | | | If you use that parameter it will end calling to url_for with two arguments, which fails because url_for expects only one | |||||
* | | deprecating process_view_paths | Aaron Patterson | 2011-08-09 | 2 | -1/+3 | |
| | | ||||||
* | | just use map and case / when rather than modifying the iterating array | Aaron Patterson | 2011-08-09 | 1 | -5/+8 | |
| | | ||||||
* | | only typecast what we need to typecast | Aaron Patterson | 2011-08-09 | 1 | -11/+9 | |
| | | ||||||
* | | Favor composition over inheritance. | Aaron Patterson | 2011-08-09 | 1 | -6/+48 | |
| | | ||||||
* | | Just remove the sort_locals method | Aaron Patterson | 2011-08-09 | 1 | -12/+1 | |
| | |