1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/test
Yasuo Honda e4a6a23aa7 Suppress warning: BigDecimal.new is deprecated
`BigDecimal.new` has been deprecated in BigDecimal 1.3.3
 which will be a default for Ruby 2.5.

Refer
533737338d

* This commit has been made as follows:

```
cd rails
git grep -l BigDecimal.new | grep -v guides/source/5_0_release_notes.md | grep -v activesupport/test/xml_mini_test.rb | xargs sed -i -e "s/BigDecimal.new/BigDecimal/g"
```
- `activesupport/test/xml_mini_test.rb`
Editmanually to remove `.new` and `::`

- guides/source/5_0_release_notes.md
This is a Rails 5.0 release notes.
2017-12-15 01:19:57 +00:00
..
actionpack Enable Layout/LeadingCommentSpace to not allow cosmetic changes in the future 2017-12-14 17:30:54 +09:00
activerecord Remove unused methods from RenderPartialWithRecordIdentificationController 2017-09-30 17:38:27 +09:00
fixtures fix(streaming_template_renderer): I18n.locale broken in layout. I18n gem stores the current locale in Thread.current[:local] (see: https://github.com/svenfuchs/i18n/blob/master/lib/i18n.rb#L23). StreamingTemplateRenderer is implemented with Fiber which have its own stack of locals and can not access Thread.current.locals(keys, see: https://ruby-doc.org/core-2.2.0/Thread.html#class-Thread-label-Fiber-local+vs.+Thread-local). 2017-11-25 21:32:02 +01:00
lib/controller Use frozen string literal in actionview/ 2017-07-24 11:53:43 +03:00
template Suppress warning: BigDecimal.new is deprecated 2017-12-15 01:19:57 +00:00
tmp Unify the internal source control .keep file name 2017-08-24 13:40:26 +09:00
ujs Enable to call Rails.ajax without beforeSend 2017-10-28 12:13:19 +09:00
abstract_unit.rb Include ActionDispatch::DrawOnce in ActiveSupport::TestCase 2017-09-27 08:51:37 +09:00
active_record_unit.rb Enable Layout/LeadingCommentSpace to not allow cosmetic changes in the future 2017-12-14 17:30:54 +09:00