Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Escape the string even when the condition of link_to_unless is not satisfied. | dtaniwaki | 2013-06-16 | 1 | -1/+1 |
| | |||||
* | Use a case insensitive URI Regexp for #asset_path | David Celis | 2013-06-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | Context: https://gist.github.com/radar/5793814 The `URI_REGEXP` that various AssetUrl helpers use is currently case sensitive when checking for a URI scheme. This means if you try to pass a URL like `HTTP://www.example.com/path/to/image.jpg`, you end up with a bogus asset path: `/assets/HTTP://www.example.com/path/to/image.jpg`. URLs are case insensitive, so this regexp should be as well. Signed-off-by: David Celis <me@davidcel.is> | ||||
* | collection tags accept html attributes as the last element of collection | Vasiliy Ermolovich | 2013-06-16 | 1 | -1/+2 |
| | |||||
* | Update the HTML boolean attributes per the HTML 5.1 spec | Alex Peattie | 2013-06-14 | 1 | -2/+5 |
| | | | | | | | - Add attributes `allowfullscreen`, `default`, `inert`, `sortable`, `truespeed`, `typemustmatch`. - Fix attribute `seamless` (previously misspelled `seemless`). - Use `assert_dom_equal` instead of `assert_equal` in test. | ||||
* | Raise ArgumentError to fix Rails 4.1 deprecation warn message. | kennyj | 2013-06-02 | 1 | -5/+1 |
| | |||||
* | Remove :confirm and :disable_with options from ↵ | kennyj | 2013-06-01 | 1 | -41/+0 |
| | | | | ActionView::Helpers::FormTagHelper were deprecated. | ||||
* | Remove link_to_function / button_to_function from ↵ | kennyj | 2013-06-01 | 1 | -42/+0 |
| | | | | ActionView::Helpers::JavascriptHelper were deprecated. | ||||
* | Remove :confirm and :disable_with options for ↵ | kennyj | 2013-06-01 | 1 | -18/+0 |
| | | | | ActionView::Helpers::UrlHelper#link_to and #button_to were deprecated. | ||||
* | restore ability to return nil from asset_host proc, add test | Sean Walbran | 2013-05-15 | 1 | -1/+2 |
| | |||||
* | sort => sort! on new array | Vipul A M | 2013-05-10 | 1 | -1/+1 |
| | |||||
* | remove unused variable | Vipul A M | 2013-05-06 | 1 | -1/+0 |
| | |||||
* | Fix typo in documentation comment | Junya Ogura | 2013-05-06 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-05-01 | 1 | -1/+1 |
|\ | |||||
| * | fixed typo in select_tag docs | Rncrtr | 2013-04-18 | 1 | -1/+1 |
| | | |||||
* | | symbolize_keys => symbolize_keys! on new hash; | Vipul A M | 2013-04-19 | 1 | -1/+1 |
| | | | | | | | | "There're" => There are for better readability | ||||
* | | Merge pull request #10173 from nashby/element-attributes | Rafael Mendonça França | 2013-04-16 | 1 | -1/+1 |
|\ \ | |/ |/| | options_from_collection_for_select helper takes html attributes | ||||
| * | options_from_collection_for_select helper takes html attributes | Vasiliy Ermolovich | 2013-04-11 | 1 | -1/+1 |
| | | | | | | | | as the last element of the array | ||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-04-11 | 36 | -78/+110 |
|\ \ | |/ |/| | | | | | Conflicts: guides/source/action_mailer_basics.md | ||||
| * | improve accuracy of simple_format documentation. span doesn't get sanitized. | RSL | 2013-04-09 | 1 | -2/+5 |
| | | |||||
| * | Typo fix | Carson McDonald | 2013-04-05 | 1 | -3/+3 |
| | | |||||
| * | fix broken format in ActionView::Helpers::AssetTagHelper [ci skip] | Francesco Rodriguez | 2013-04-04 | 1 | -4/+9 |
| | | |||||
| * | mark ActionView::Helpers::Tags as :nodoc: [ci skip] | Francesco Rodriguez | 2013-04-04 | 33 | -68/+67 |
| | | |||||
| * | fix broken format in ActionView::Helpers::NumberHelper [ci skip] | Francesco Rodriguez | 2013-04-03 | 1 | -0/+25 |
| | | |||||
| * | Fix typo | Carson McDonald | 2013-03-31 | 1 | -1/+1 |
| | | |||||
* | | Added documentation to the FormBuilder class, should help | wangjohn | 2013-04-06 | 1 | -2/+55 |
| | | | | | | | | | | clarify issue #10115. Also made the field_helpers an explicit list of methods. | ||||
* | | change some more merge to merge! on new hashes | Vipul A M | 2013-04-06 | 1 | -3/+3 |
| | | |||||
* | | Fix explicit names on multiple file fields | Ryan McGeary | 2013-04-05 | 1 | -8/+7 |
| | | | | | | | | | | | | | | | | If a file field tag is passed the multiple option, it is turned into an array field (appending "[]"), but if the file field is passed an explicit name as an option, leave the name alone (do not append "[]"). Fixes #9830 | ||||
* | | Refactor mail_to to not generate intermediate hashes when adding href | Carlos Antonio da Silva | 2013-04-04 | 1 | -5/+6 |
| | | | | | | | | | | | | There's no need to use Hash#merge with a new hash just for setting the href option to pass it through. Since we're always dealing with a new html_options hash, we're free to just set the value instead. | ||||
* | | Ensure mail_to helper does not modify the given html options hash | Carlos Antonio da Silva | 2013-04-04 | 1 | -3/+3 |
| | | |||||
* | | Add block support for the helper | Sam Pohlenz | 2013-04-03 | 1 | -5/+16 |
| | | |||||
* | | Fix grammatical error on JS helper warning message | thenickcox | 2013-04-02 | 1 | -2/+2 |
| | | | | | | | | | | | | Add changelog entry Delete changelog | ||||
* | | typo recomend -> recommend | ogawaso | 2013-04-01 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #9680 from bdmac/time-zone-options-revert-grep-to-select | Carlos Antonio da Silva | 2013-03-31 | 1 | -1/+1 |
|\ \ | | | | | | | Revert grep to select since they are not the same | ||||
| * | | Revert grep to select since they are not the same | Brian McManus | 2013-03-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A previous commit swapped out a call to select for a call to grep in time_zone_options_for_select. This behavior actually causes the regexp priority option to stop working. ActiveSupport::TimeZone overrides the =~ operator which is what the select block was using previously. Enumerable#grep checks pattern === element and in this case that would be /US/ === ActiveSupport::TimeZone which does not work because ActiveSupport::TimeZone does not supply an implicit converting to_str method, only an explicit to_s method. It would be impossible to provide a to_str method that behaves identically to the =~ method provided on ActiveSupport::TimeZone so the only option is to revert back to using select with =~. | ||||
* | | | remove unused variable and assignment | Vipul A M | 2013-03-31 | 1 | -1/+1 |
| |/ |/| | |||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-03-30 | 1 | -16/+0 |
|\ \ | |/ |/| | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb activerecord/test/cases/adapter_test.rb guides/source/testing.md [ci skip] | ||||
| * | Remove duplicated accepts_nested_attributes description | ma2gedev | 2013-03-22 | 1 | -16/+0 |
| | | | | | | | | there are just the same description about accepts_nested_attributes [ci skip] | ||||
* | | Allow pass multipart option to form_for | Grzegorz Derebecki | 2013-03-17 | 1 | -1/+1 |
|/ | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-03-10 | 1 | -1/+1 |
|\ | |||||
| * | Update capture_helper.rb | Jess Brown | 2013-03-06 | 1 | -1/+1 |
| | | | | | | if there's content for the right column, then we need the two-column class, if not the one-column | ||||
* | | Fix incorrectly appended square brackets to a multiple select box | Olek Janiszewski | 2013-03-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | If an explicit name has been given and it already ends with "[]" Before: select(:category, [], {}, multiple: true, name: "post[category][]") # => <select name="post[category][][]" ...> After: select(:category, [], {}, multiple: true, name: "post[category][]") # => <select name="post[category][]" ...> | ||||
* | | Use gsub intead of tr when the to_str is longer than the from_str | robertomiranda | 2013-03-05 | 1 | -1/+1 |
|/ | |||||
* | change useless gsub to tr | robertomiranda | 2013-03-05 | 1 | -1/+1 |
| | |||||
* | change useless gsub to delete | Benjamin Sullivan | 2013-03-05 | 1 | -1/+1 |
| | |||||
* | Merge pull request #9366 from killthekitten/fix-content_for-regression | Rafael Mendonça França | 2013-02-28 | 1 | -1/+1 |
|\ | | | | | Fix for #9360 content_for regression | ||||
| * | Fix #9360 regression in content_for | Nikolay Shebanov | 2013-02-25 | 1 | -1/+1 |
| | | |||||
* | | Fix debug helper not inspecting on Exception | Bouke van der Bijl | 2013-02-23 | 1 | -1/+1 |
| | | | | | | The debug helper should inspect the object when it can't be converted to YAML, this behavior was changed in 8f8d8eb1465069e2ed9b6f2404aa9d02e785f534. | ||||
* | | Merge pull request #9334 from NARKOZ/time_tag | Andrew White | 2013-02-21 | 1 | -1/+3 |
|\ \ | | | | | | | use ISO 8601 format in time_tag helper | ||||
| * | | document setting custom datetime attribute for time_tag helper | Nihad Abbasov | 2013-02-22 | 1 | -0/+2 |
| | | | |||||
| * | | fix time_tag helper and update tests to not rely on dynamically generated values | Nihad Abbasov | 2013-02-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | Before `time_tag Date.today` will return `<time datetime="2013-02-14T00:00:00+00:00">February 14, 2013</time>`. This commit fixes time_tag helper to use RFC-3339 full-date format (Y-m-d) in datetime attribute. |