aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/CHANGELOG.md
Commit message (Collapse)AuthorAgeFilesLines
* Partial template name does no more have to be a valid Ruby identifierAkira Matsuda2015-02-061-0/+10
| | | | because the partial renderer would not create an lvar per each template since c67005f221f102fe2caca231027d9b11cf630484
* Use option url: false to allow entries without a link tagDaniel Gomez de Souza2015-01-161-0/+3
|
* Fix typo in ActionView CHANGELOG [ci skip]Prathamesh Sonpatki2015-01-141-1/+1
|
* Change the default template handler from `ERB` to `Raw`.Rafael Mendonça França2015-01-041-0/+7
| | | | | Files without a template handler in their extension will be rended using the raw handler instead of ERB.
* Remove deprecated `AbstractController::Base::parent_prefixes`Rafael Mendonça França2015-01-041-0/+4
|
* Fix a few typos [ci skip]Robin Dupret2015-01-031-1/+1
|
* Unsafe default translations should not be marked html_safeJustin Coyne2015-01-021-0/+5
| | | | | | Previously default translation keys that didn't end in `_html`, but came after a missing key that ended in `_html` were being returned as html_safe. Now they are not. Fixes #18257
* Merge pull request #17974 from killthekitten/fix-render-blockRafael Mendonça França2015-01-021-0/+4
|\ | | | | | | | | | | | | Make possible to use blocks with short version of render partial Conflicts: actionview/CHANGELOG.md
| * Make possible to use blocks with short version of render partialNikolay Shebanov2014-12-191-0/+4
| |
* | Merge pull request #17973 from maurogeorge/file_field_hidden_fieldRafael Mendonça França2015-01-021-0/+6
|\ \ | | | | | | | | | Generate a hidden_tag when using a file_field
| * | Add a hidden_field on the file_fieldMauro George2015-01-021-0/+6
|/ / | | | | | | | | This will avoid a error be raised when the only input on the form is the `file_field`.
* | Changelog edits [ci skip]Robin Dupret2014-12-311-2/+2
| |
* | fix error message of option as with invalid charters in partial renderingAngelo capilleri2014-12-291-0/+5
|/ | | | | before this PR IDENTIFIER_ERROR_MESSAGE could lead to misunderstand the convention of partial name. Added OPTION_AS_ERROR_MESSAGE for unvalid charter in as option.
* Revert "Re-enable capture'ing non-String values"Santiago Pastorino2014-12-151-7/+0
| | | | This reverts commit c2fe0938d7201d4ce0bb2f25e72bf5f70df128af.
* Re-enable capture'ing non-String valuesCarsten Zimmermann2014-12-141-0/+7
| | | | | | | This has been discussed in #17661 and partially reverts the changes made in 9de83050d3a4b260d4aeb5d09ec4eb64f913ba64 and 986cac73e3c56b3dfa22fd1464f6913e38d32cc3 The test case added to content_for acts as a regression / acceptance test.
* Start Rails 5 development :tada:Rafael Mendonça França2014-11-281-218/+1
| | | | | | | We will support only Ruby >= 2.1. But right now we don't accept pull requests with syntax changes to drop support to Ruby 1.9.
* Local vars should exist in partials for falsy `:object:` values tooAgis-2014-11-251-0/+7
| | | | | | | | | | | | c67005f221f102fe2caca231027d9b11cf630484 made the local var in partials available only if what passed to `:object` was truthy. For example this would not make the local variable `foo` available inside the partial: render partial: 'foo', object: false Fixes #17373.
* Add `:enforce_utf8` option to form_forclaudiob2014-11-201-0/+7
| | | | | | | | | Since 06388b0 `form_tag` accepts the option `enforce_utf8` which, when set to false, prevents the hidden "UTF8 enforcer" field from appearing in the output. This commit implements the same behavior for `form_for`. Stems from https://github.com/rails/rails/pull/17685#issuecomment-63871395
* Some valid block calls in templates caused syntax errorsAkira Matsuda2014-11-201-0/+5
| | | | Now ActionView accepts <%= foo(){ %> and <%= foo()do %> :golf:
* Add CHANGELOG entry for #17064Rafael Mendonça França2014-10-251-0/+6
|
* Revert "Revert "Merge pull request #16888 from jejacks0n/render_template""Godfrey Chan2014-09-261-0/+9
| | | | This reverts commit 585e75696b31395aee895e5366e331c07c3f5ee1.
* Revert "Merge pull request #16888 from jejacks0n/render_template"Godfrey Chan2014-09-231-9/+0
| | | | | | | This reverts commit 07635a74b5ee08dcba3f6617def6230d8f114fe5, reversing changes made to 1b5f61a025b6ce1ee52b7148e3ed2a9acbde28b9. Reason: it's not ready :bomb:, see https://github.com/rails/rails/pull/16888#issuecomment-56400816
* CHANGELOG for 07635a7Godfrey Chan2014-09-231-0/+9
|
* [ci skip] ActionView and ActionMailer CHANGELOG docs fixesAkshay Vishnoi2014-09-181-4/+4
|
* Add support for ARIA attributes in tagsPaoMar2014-09-031-0/+12
|
* minor changelog formatting changes.Yves Senn2014-08-271-3/+3
|
* provide a builder for form labels to customize wrapping around I18n contentAlex Robbin2014-08-201-0/+7
|
* add I18n support for `:placeholder` HTML option is passed to form fieldsAlex Robbin2014-08-121-0/+6
|
* Fix that render layout should also be picked up by the template dependency ↵David Heinemeier Hansson2014-07-251-0/+4
| | | | tracker, but only half-ways. You can add that layout option on the same render call, and both templates should be added to the dependency tree. But thats going to require a more serious rework of the tracker. Please do help fix this part of it too. For now, render layout needs to be on its own line.
* Add CHANGELOG entry for PartialIteration.Rafael Mendonça França2014-07-161-0/+10
| | | | Closes #7698.
* Return an absolute instead of relative path from an asset url in the case of ↵Jolyon Pawlyn2014-07-151-0/+5
| | | | the `asset_host` proc returning nil
* Synced 4.2 release notes with the latest commits.Godfrey Chan2014-07-111-1/+1
| | | | | Also reordered some of the items to put newer ones on top (same order as CHANGELOGs), which makes it easier to diff while we are still working on it.
* Add CHANGELOG for c803b90Godfrey Chan2014-07-021-0/+4
|
* Add CHANGELOG entry for #15214Rafael Mendonça França2014-06-301-0/+4
| | | | Closes #15214
* 'TextHelper#highlight' now accepts a block to highlight the matched words.Lucas Mazza2014-06-191-0/+9
| | | | | | | | The helper will yield each matched word, and you can use this instead of the ':highlighter' option for more complex replacing logic: highlight('My email is me@work.com', EMAIL_REGEXP) { |m| mail_to(m) } # => 'My email is <a href="mailto:me@work.com">me@work.com</a>'
* Merge pull request #15654 from pdg137/masterMatthew Draper2014-06-131-0/+10
|\ | | | | | | In tag helper, honor html_safe on arrays; also make safe_join more similar to Array.join
* \ Merge pull request #15590 from ↵Yves Senn2014-06-121-0/+6
|\ \ | |/ |/| | | | | | | | | | | | | zuhao/refactor_actionview_register_template_handler Add unregister_template_handler to prevent leaks. Conflicts: actionview/CHANGELOG.md
| * Add unregister_template_handler to prevent leaks.Zuhao Wan2014-06-121-0/+6
| |
* | Fix cache_digest rake tasksJiri Pospisil2014-06-101-0/+4
|/ | | | | Bring cache_digests:* rake tasks up-to-date with the API changes introduced in 637bb726cac60aaa1f7e482836458aa73e17fbb7
* Merge pull request #15021 from hubertlepicki/allow_custom_host_in_asset_urlRafael Mendonça França2014-05-161-1/+5
|\ | | | | | | Allow custom asset host to be passed in asset_url
| * Improve documentation for asset_urlHubert Łępicki2014-05-081-0/+4
| | | | | | | | Updated CHANGELOG.md with entry about :host in asset_url
* | formatting pass through CHANGELOGS. [ci skip]Yves Senn2014-05-161-1/+3
| |
* | Improve CHANGELOG entryRafael Mendonça França2014-05-141-2/+4
| |
* | deprecate AbC:Base::parent_prefixes.Nick Sutterer2014-05-131-0/+4
|/ | | | | | rename ::_local_prefixes to ::local_prefixes to state the public attribute. document the latter. make ::local_prefixes private, test overriding it and remove documentation for overriding ::_parent_prefixes.
* Include label value in i18n attribute lookupJoshua Cody2014-05-061-0/+20
| | | | | | | | | | | | | | | | | | | | | Previously, only the object and method name from the label tag were used when looking up the translation for a label. If a value is given for the label, this ought to be additionally used. The following: # form.html.erb <%= form_for @post do |f| %> <%= f.label :type, value: "long" %> <% end %> # en.yml en: activerecord: attributes: post/long: "Long-form Post" Used to simply return "long", but now it will return "Long-form Post".
* Enhance a bit a few changelog entries [ci skip]Robin Dupret2014-05-021-2/+2
|
* always use File.joinphoet2014-05-011-0/+10
|
* Change favicon_link_tag helper mimetype from image/vnd.microsoft.icon to ↵glorieux2014-04-211-0/+15
| | | | | | | | image/x-icon. Although the official IANA-registered MIME type for ICO files is image/vnd.microsoft.icon, registered in 2003, it was submitted to IANA by a third party and is not recognized by Microsoft products. The MIME type image/x-icon should be used since is the one recognized by the major browsers on the market.
* Merge pull request #14738 from tilsammans/pull/11407Rafael Mendonça França2014-04-171-0/+8
|\ | | | | | | | | | | | | Remove wrapping div with inline styles for hidden form fields. Conflicts: actionview/CHANGELOG.md
| * Remove wrapping div with inline styles for hidden form fields.Joost Baaij2014-04-141-0/+8
| | | | | | | | | | | | We are dropping HTML 4.01 and XHTML strict compliance since input tags directly inside a form are valid HTML5, and the absense of inline styles help in validating for Content Security Policy.