- 05 8月, 2019 1 次提交
-
-
由 Juanito Fatas 提交于
- The sanitizer has been changed to safe_list_sanitizer. - deprecate white_list_sanitizer
-
- 23 7月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 28 5月, 2019 1 次提交
-
-
由 Eileen M. Uchitelle 提交于
Fix unexpected select_tag delete behavior when include_blank is present
-
- 25 4月, 2019 2 次提交
-
-
由 Rafael Mendonça França 提交于
-
由 Ryuta Kamizono 提交于
Need to new line to break line in the markdown.
-
- 20 4月, 2019 1 次提交
-
-
由 st0012 提交于
-
- 04 4月, 2019 1 次提交
-
-
由 Edward Rudd 提交于
-
- 02 4月, 2019 2 次提交
-
-
由 Kasper Timm Hansen 提交于
-
由 John Hawthorn 提交于
-
- 31 3月, 2019 1 次提交
-
-
由 Ryuta Kamizono 提交于
* add leading `#` before `=>` since hash rocket is valid Ruby code * add backticks * remove trailing spaces * and more
-
- 23 3月, 2019 2 次提交
-
-
由 Shailesh Kalamkar 提交于
-
由 John Hawthorn 提交于
-
- 11 3月, 2019 1 次提交
-
-
由 eileencodes 提交于
* Update RAILS_VERSION * Bundle * rake update_versions * rake changelog:header
-
- 26 2月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 07 2月, 2019 2 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
Revert "Remove finalizer and configuration" This reverts commit 9e7b4a3173788ea43b11e74a4d2f69a5f1565daa.
-
- 28 1月, 2019 1 次提交
-
-
由 Javan Makhmali 提交于
-
- 26 1月, 2019 1 次提交
-
-
由 Mark Edmondson 提交于
-
- 19 1月, 2019 2 次提交
- 18 1月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 27 12月, 2018 1 次提交
-
-
由 Genadi Samokovarov 提交于
The `#csrf_meta_tags` and `#token_tag` Action View helper methods are expecting the class in which are included to explicitly define the method `#protect_against_forgery?` or else they will fail with `NoMethodError`. This is a problem if you want to use Action View outside of Rails applications. For example, in #34788 I used the `#button_to` helper inside of the error pages templates that have a custom `ActionView::Base` subclass, which did not defined `#protect_against_forgery?` and trying to call the button failed. I had to dig inside of Action View to find-out what's was going on. I think we should either set a default method implementation in the helpers or check for the method definition, but don't explicitly require the presence of `#protect_against_forgery?` in every `ActionViews::Base` subclass as the errors are hard to figure out.
-
- 20 12月, 2018 1 次提交
-
-
由 Kasper Timm Hansen 提交于
Generally followed the pattern for https://github.com/rails/rails/pull/32034 * Removes needless CI configs for 2.4 * Targets 2.5 in rubocop * Updates existing CHANGELOG entries for fewer merge conflicts * Removes Hash#slice extension as that's inlined on Ruby 2.5. * Removes the need for send on define_method in MethodCallAssertions.
-
- 06 12月, 2018 1 次提交
-
-
由 WoH 提交于
-
- 05 12月, 2018 1 次提交
-
-
由 WoH 提交于
Firefox fires click events on left-, right- and scroll-wheel (any non-primary mouse key) clicks while other browsers don't.
-
- 20 11月, 2018 1 次提交
-
-
由 Lyle Mullican 提交于
side of long lines; Fixes #34487
-
- 08 11月, 2018 1 次提交
-
-
由 Ryuta Kamizono 提交于
And remove trailing spaces.
-
- 10 10月, 2018 1 次提交
-
-
由 Eileen Uchitelle 提交于
This PR adds the allocations to the instrumentation for template and partial rendering. Before: ``` Rendering posts/new.html.erb within layouts/application Rendered posts/_form.html.erb (9.7ms) Rendered posts/new.html.erb within layouts/application (10.9ms) Completed 200 OK in 902ms (Views: 890.8ms | ActiveRecord: 0.8ms) ``` After: ``` Rendering posts/new.html.erb within layouts/application Rendered posts/_form.html.erb (Duration: 7.1ms | Allocations: 6004) Rendered posts/new.html.erb within layouts/application (Duration: 8.3ms | Allocations: 6654) Completed 200 OK in 858ms (Views: 848.4ms | ActiveRecord: 0.4ms | Allocations: 1539564) ```
-
- 02 10月, 2018 1 次提交
-
-
由 Joel Ambass 提交于
The url_for method is now extracting the path_only option in order to determine if polymorphic_path or polymorphic_url should be called. If the path_only option is not set it will be set to true unless the host option is set. This behaviour is the same as when a Hash or Params object is passed. To support this unifying the code responsible for setting this default value has been extracted into a private method
-
- 07 9月, 2018 1 次提交
-
-
由 Ryuta Kamizono 提交于
Fixing code block rendering, indentation, backticks, etc.
-
- 08 8月, 2018 2 次提交
-
-
由 Ana María Martínez Gómez 提交于
Instead of dropping it completely in case someone is relying (probably inadvertenly) on it.
-
由 Ana María Martínez Gómez 提交于
-
- 07 8月, 2018 1 次提交
-
-
由 Ana María Martínez Gómez 提交于
Avoid exposing private methods in view's helpers. Fixes https://github.com/rails/rails/issues/33546
-
- 16 7月, 2018 1 次提交
-
-
由 Georgi Georgiev 提交于
`button_to` was throwing exception when invoked with `params` hash that contains symbol and string keys. The reason for the exception was that `to_form_params` was comparing the given symbol and string keys. The issue is fixed by turning all keys to strings inside `to_form_params` before comparing them.
-
- 04 7月, 2018 1 次提交
-
-
由 Juan Broullon 提交于
-
- 10 6月, 2018 1 次提交
-
-
由 Koki Ryu 提交于
names. Lambda should be passed to use this option. Example: date_select('user_birthday', '', start_year: 1998, end_year: 2000, year_format: ->year { "Heisei #{year - 1988}" }) The HTML produced: <select id="user_birthday__1i" name="user_birthday[(1i)]"> <option value="1998">Heisei 10</option> <option value="1999">Heisei 11</option> <option value="2000">Heisei 12</option> </select> /* The rest is omitted */
-
- 20 4月, 2018 1 次提交
-
-
由 yuuji.yaginuma 提交于
As of now, `HTMLElement.nonce` seems to work only in Chrome. So, it should not be used now. https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/nonce#Browser_compatibility Fixes #32577.
-
- 18 4月, 2018 1 次提交
-
-
由 Yaroslav Markin 提交于
-
- 07 4月, 2018 2 次提交
-
-
由 bogdanvlviv 提交于
- Add missing dots at the end of sentences. - Wrap RecordTagHelper into `. - `RecordTagHelper` => `ActionView::Helpers::RecordTagHelper`. [ci skip]
-
由 Yoshiyuki Hirano 提交于
* Since #18411, we started to inform about extracted gem (record_tag_helper) to developers who use `ActionView::Helpers::RecordTagHelper` 's methods. * Currently, it seems no problem that we don't have to support no longer.
-