From d5197d59a112581e8838f6867c0a02806bace46a Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Thu, 20 Dec 2018 23:22:46 +0900 Subject: Use native `Array#append`, `Array#prepend`, `Hash#transform_keys`, and `Hash#transform_keys!` Since Rails 6 requires Ruby 2.5. https://github.com/ruby/ruby/blob/ruby_2_5/NEWS Follow up #34754. --- activemodel/lib/active_model/validations.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'activemodel') diff --git a/activemodel/lib/active_model/validations.rb b/activemodel/lib/active_model/validations.rb index 7f14d102dd..f18f9a601a 100644 --- a/activemodel/lib/active_model/validations.rb +++ b/activemodel/lib/active_model/validations.rb @@ -1,8 +1,6 @@ # frozen_string_literal: true require "active_support/core_ext/array/extract_options" -require "active_support/core_ext/hash/keys" -require "active_support/core_ext/hash/except" module ActiveModel # == Active \Model \Validations -- cgit v1.2.3