aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge pull request #30020 from rails/active-storage-importDavid Heinemeier Hansson2017-08-045-2/+89
|\ \ \ \ | | | | | | | | | | Add Active Storage to Rails
| * | | | Remove duplicated convert_direct_upload_option_to_urlRafael Mendonça França2017-08-032-7/+4
| | | | | | | | | | | | | | | | | | | | FormHelper includes FormTagHelper so we don't need to define two methods
| * | | | Refactor convert_direct_upload_option_to_urlRafael Mendonça França2017-08-032-3/+35
| | | | | | | | | | | | | | | | | | | | Also make sure file_field doesn't mutate the original options passed in.
| * | | | Make sure Action View doesn't break with Active StorageRafael Mendonça França2017-08-033-1/+50
| | | | | | | | | | | | | | | | | | | | | | | | | When Active Storage is not loaded and direct_upload is used on file_field_tag we should not raise an exception.
| * | | | Merge branch 'master' into active-storage-importDavid Heinemeier Hansson2017-08-021-1/+1
| |\ \ \ \
| * | | | | Add requireDavid Heinemeier Hansson2017-08-011-0/+1
| | | | | |
| * | | | | Move the direct_upload: true convenience option from the activestorage ↵David Heinemeier Hansson2017-07-312-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | helper into actionview
* | | | | | Merge pull request #29984 from colorfulfool/form-helpers-unicode-sanitizationRafael França2017-08-022-1/+15
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Allow non-English values for collection_radio_buttons
| * | | | | Allow non-English values for collection_radio_buttons/check_boxescolorfulfool2017-08-022-1/+15
| |/ / / /
* / / / / Use File::NULL instead of "/dev/null"Kazuhiro NISHIYAMA2017-07-311-1/+1
|/ / / /
* | | | Merge pull request #30001 from y-yagi/fix_test_directoryKasper Timm Hansen2017-07-303-3/+3
|\ \ \ \ | | | | | | | | | | Fix test directory to correct path
| * | | | Fix test directory to correct pathyuuji.yaginuma2017-07-303-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Together, fix to the following lint violation. ``` rails/actionview/test/ujs/public/test/data-confirm.js 303:11 error Strings must use singlequote quotes rails/actionview/test/ujs/public/test/data-remote.js 414:32 error Extra semicolon semi ✖ 2 problems (2 errors, 0 warnings) ```
* | | | | Fix testing helpers that use Action View's capturing helpers (e.g. content_for)George Claghorn2017-07-252-0/+10
|/ / / /
* | | | Suppress warning from actionview controller helper.Christina Thompson2017-07-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Explicitly pass a destructed array to the delegate method. Signed-off-by: Yuki Nishijima <yk.nishijima@gmail.com>
* | | | Merge pull request #29897 from kirs/frozen-actionviewRafael França2017-07-24177-1/+350
|\ \ \ \ | | | | | | | | | | Use frozen string literal in actionview/
| * | | | Use frozen string literal in actionview/Kir Shatrov2017-07-24177-1/+350
| | | | |
* | | | | Merge pull request #29792 from lugray/delegate_respond_toRafael França2017-07-242-2/+21
|\ \ \ \ \ | |/ / / / |/| | | | Delegate respond_to? in ActionView::Helpers::ControllerHelper
| * | | | Delegate respond_to? in ActionView::Helpers::ControllerHelperLisa Ugray2017-07-192-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since methods defined in the controller helper are mostly delegated to the controller, delegate respond_to? as well, so that for example `respond_to?(:params)` behaves as expected.
* | | | | Make actionview ready for frozen stringsKir Shatrov2017-07-231-1/+2
| | | | |
* | | | | Merge pull request #29884 from padi/update_rails_5_upgrade_guideRafael França2017-07-211-2/+2
|\ \ \ \ \ | | | | | | | | | | | | Updates Rails upgrade guide on `ActionView::Helpers::RecordTagHelper`
| * | | | | Suppress documentation for content_tag_for and div_for since they were ↵Marc Rendl Ignacio2017-07-211-2/+2
| | |/ / / | |/| | | | | | | | | | | | | removed already
* | | | | Remove log directory in test postprocessingyuuji.yaginuma2017-07-211-1/+1
| | | | | | | | | | | | | | | | | | | | The "log" is directory. So it is necessary to use `FileUtils.rm_rf`.
* | | | | Add jQuery to test vendor filesMarc Rendl Ignacio2017-07-202-1/+9832
| |/ / / |/| | | | | | | | | | | | | | | ... so that we can run most, if not all, of rails-ujs tests without necessarily requiring an internet connection.
* | | | [ci skip]Replace jquery-ujs with rails-ujswillnet2017-07-191-1/+1
| | | |
* | | | Enable `Layout/FirstParameterIndentation` copRyuta Kamizono2017-07-172-24/+24
|/ / / | | | | | | | | | | | | | | | | | | We have some indentation cops. But now there is a little inconsistent params indentations. Enable `Layout/FirstParameterIndentation` cop to prevent newly inconsistent indentation added and auto-correct to existing violations.
* | | [Action View] `rubocop -a --only Layout/EmptyLineAfterMagicComment`Koichi ITO2017-07-113-0/+3
| | |
* | | Prepare AP and AR to be frozen string friendlyKir Shatrov2017-07-062-1/+3
| |/ |/|
* | Merge branch 'master' into require_relative_2017Xavier Noria2017-07-0224-236/+257
|\ \
| * | Expectation firstAkira Matsuda2017-07-022-8/+8
| | |
| * | Avoid shadowed variableMatthew Draper2017-07-021-2/+2
| | |
| * | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-02191-191/+1
| | | | | | | | | | | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
| * | Merge pull request #29540 from kirs/rubocop-frozen-stringMatthew Draper2017-07-02191-1/+191
| |\ \ | | | | | | | | | | | | Enforce frozen string in Rubocop
| | * | Enforce frozen string in RubocopKir Shatrov2017-07-01191-1/+191
| | | |
| * | | Merge pull request #29506 from pat/frozen-string-literalsMatthew Draper2017-07-0221-225/+225
| |\ \ \ | | | | | | | | | | | | | | | Make ActiveSupport frozen-string-literal friendly.
| | * | | Make ActionView frozen string literal friendly.Pat Allan2017-06-2019-220/+220
| | | | | | | | | | | | | | | | | | | | Plus a couple of related ActionPack patches.
| | * | | Make ActionMailer frozen string literal friendly.Pat Allan2017-06-202-3/+3
| | | | |
| | * | | Make ActiveModel frozen string literal friendly.Pat Allan2017-06-201-2/+2
| | | | | | | | | | | | | | | | | | | | Includes two external changes because they're referenced within the ActiveModel test suite.
| * | | | Merge pull request #29349 from robertomiranda/responsive-imagesMatthew Draper2017-07-023-3/+24
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Add srcset option to image_tag helper
| | * | | | Add `srcset` option to `image_tag` helperRoberto Miranda2017-06-293-2/+23
| | | |/ / | | |/| |
* | / | | [Action View] require => require_relativeAkira Matsuda2017-07-0125-35/+35
|/ / / /
* / / / Fallback Parameters#to_s to Hash#to_sKir Shatrov2017-06-301-0/+6
|/ / / | | | | | | Fixes https://github.com/rails/rails/issues/29617
* | | Merge pull request #29588 from greysteil/add-gemspec-linksRafael França2017-06-281-0/+5
|\ \ \ | | | | | | | | Add source code and changelog links to gemspecs
| * | | Add source code and changelog links to gemspecsGrey Baker2017-06-281-0/+5
| | | |
* | | | :scissors:Ryuta Kamizono2017-06-281-4/+4
|/ / / | | | | | | | | | [ci skip]
* | | Add changes to CHANGELOGsavroff2017-06-191-0/+6
| | | | | | | | | | | | | | | | | | fix fix
* | | Fix current_page? helper issue with engine root pathsavroff2017-06-192-4/+17
|/ /
* | Use `require_relative` instead of `require` with full pathbogdanvlviv2017-06-141-1/+1
| |
* | Generate field ids in `collection_check_boxes` and `collection_radio_buttons`yuuji.yaginuma2017-06-114-18/+28
| | | | | | | | | | This makes sure that the labels are linked up with the fields. Fixes #29014
* | Don't rely on the @view_renderer being defined.Kasper Timm Hansen2017-06-081-2/+2
| | | | | | | | That won't be true for Action Pack and Action Mailer.
* | Merge pull request https://github.com/rails/rails/pull/28637 from ↵Kasper Timm Hansen2017-06-086-33/+42
| | | | | | | | st0012/fix-partial-cache-logging