Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Revert "warn the user values are directly interpolated into _html ↵ | Xavier Noria | 2011-11-17 | 1 | -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 strings | Xavier Noria | 2011-11-17 | 1 | -0/+2 | |
| | | | ||||||
* | | | Fix impractical I18n lookup in nested fields_for | Alexander Uvarov | 2011-11-17 | 1 | -1/+9 | |
|/ / | ||||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2011-11-13 | 1 | -2/+2 | |
|\ \ | ||||||
| * | | Cosmetic fix in number_to_currency docs | Alexey Vakhov | 2011-11-10 | 1 | -2/+2 | |
| | | | ||||||
* | | | Fix and simplify highlight regexp | Alexey Vakhov | 2011-11-10 | 1 | -1/+1 | |
|/ / | ||||||
* | | Fix small typo in link_to_function doc | Alexey Vakhov | 2011-11-08 | 1 | -1/+1 | |
| | | ||||||
* | | Docs cosmetic fixes in Action View form_helper.rb | Alexey Vakhov | 2011-11-06 | 1 | -2/+2 | |
| | | ||||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2011-11-05 | 1 | -2/+2 | |
|\ \ | |/ |/| | ||||||
| * | Fix javascript_include_tag examples in documentation | Alexey Vakhov | 2011-11-03 | 1 | -2/+2 | |
| | | ||||||
* | | Remove 'size' attribute from number_field form helper fixes #3454 | Waseem Ahmad | 2011-11-04 | 1 | -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 documentation | Paul McMahon | 2011-10-28 | 1 | -1/+1 | |
| | ||||||
* | scumbag 1.8: strings are enumerable :'( | Aaron Patterson | 2011-10-26 | 1 | -1/+1 | |
| | ||||||
* | properly handle lists of lists. Thanks @adrianpike for reporting! | Aaron Patterson | 2011-10-25 | 1 | -1/+6 | |
| | ||||||
* | Merge pull request #3314 from macmartine/master | Santiago Pastorino | 2011-10-13 | 1 | -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 Martine | 2011-10-12 | 1 | -1/+1 | |
| | | | | | | | | number_to_phone) | |||||
* | | Merge pull request #2219 from kommen/fix_fragment_caching_squashed | Santiago Pastorino | 2011-10-13 | 1 | -1/+1 | |
|/ | | | | Fix fragment caching (squashed commits) | |||||
* | 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 | 1 | -2/+2 | |
| | ||||||
* | 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 | |
| | ||||||
* | Allow asset tag helper methods to accept :digest => false option in order to ↵ | Santiago Pastorino | 2011-09-14 | 4 | -6/+6 | |
| | | | | completely avoid the digest generation. | |||||
* | 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 | 2 | -4/+4 | |
| |/ |/| | ||||||
* | | 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 | |||||
* | 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 | |
| | | ||||||
* | | 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 | |||||
* | | Merge pull request #2421 from pivotal-casebook/master | Santiago Pastorino | 2011-08-04 | 1 | -1/+1 | |
|\ \ | | | | | | | Simple_format should not edit it in place. (Fixes https://github.com/rails/rails/issues/1980) | |||||
| * | | ActionView::Helpers::TextHelper#simple_format should not change the text in ↵ | Casebook Developer | 2011-08-04 | 1 | -1/+1 | |
| | | | | | | | | | | | | place. Now it duplicates it. | |||||
* | | | Merge pull request #2356 from waynn/fix_symbol | Santiago Pastorino | 2011-08-04 | 1 | -4/+4 | |
|\ \ \ | |/ / |/| / | |/ | fix stringify_keys destructive behavior for most FormTagHelper functions | |||||
| * | fix stringify_keys destructive behavior for most FormTagHelper functions | Waynn Lue | 2011-08-03 | 1 | -4/+4 | |
| | | | | | | | | add four new tests to verify that the other three methods that called stringify_keys! are fixed. verified that the tests break in master without the code patch. Closes #2355 | |||||
* | | Rename new method to_path to to_partial_path to avoid conflicts with ↵ | José Valim | 2011-08-01 | 1 | -4/+4 | |
|/ | | | | File#to_path and similar. | |||||
* | remove redundant calls to stringify_keys | Waynn Lue | 2011-07-29 | 1 | -2/+2 | |
| | ||||||
* | Rename class method to_path to _to_path and make it explicit that it is an ↵ | José Valim | 2011-07-28 | 1 | -2/+2 | |
| | | | | internal method. | |||||
* | Merge pull request #2034 from Casecommons/to_path | José Valim | 2011-07-28 | 1 | -2/+6 | |
|\ | | | | | Allow ActiveModel-compatible instances to define their own partial paths | |||||
| * | Let ActiveModel instances define partial paths. | Grant Hutchins & Peter Jaros | 2011-07-25 | 1 | -2/+6 | |
| | | | | | | | | | | | | Deprecate ActiveModel::Name#partial_path. Now you should call #to_path directly on ActiveModel instances. |