mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
load active_support/deprecation in active_support/rails
This commit is contained in:
parent
4aee8dd486
commit
077372b20d
20 changed files with 4 additions and 19 deletions
|
@ -8,7 +8,6 @@ require 'active_support/core_ext/class/attribute_accessors'
|
|||
require 'active_support/core_ext/hash/slice'
|
||||
require 'active_support/core_ext/string/output_safety'
|
||||
require 'active_support/core_ext/array/extract_options'
|
||||
require 'active_support/deprecation'
|
||||
require 'active_support/core_ext/string/inflections'
|
||||
require 'action_controller/model_naming'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
require 'active_support/deprecation'
|
||||
|
||||
module ActiveModel
|
||||
# Raised when an attribute is not defined.
|
||||
|
|
|
@ -4,7 +4,6 @@ require 'active_support/core_ext/module/aliasing'
|
|||
require 'active_support/core_ext/module/remove_method'
|
||||
require 'active_support/core_ext/string/inflections'
|
||||
require 'active_support/core_ext/enumerable'
|
||||
require 'active_support/deprecation'
|
||||
require 'active_support/core_ext/object/try'
|
||||
require 'active_support/descendants_tracker'
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
require 'active_support/core_ext/array/wrap'
|
||||
require 'active_support/deprecation'
|
||||
|
||||
module ActiveRecord
|
||||
module Associations
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
require 'active_support/deprecation'
|
||||
|
||||
module ActiveRecord::Associations::Builder
|
||||
class CollectionAssociation < Association #:nodoc:
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
require 'active_support/core_ext/enumerable'
|
||||
require 'active_support/deprecation'
|
||||
|
||||
module ActiveRecord
|
||||
# = Active Record Attribute Methods
|
||||
|
|
|
@ -14,7 +14,6 @@ require 'active_support/core_ext/string/behavior'
|
|||
require 'active_support/core_ext/kernel/singleton_class'
|
||||
require 'active_support/core_ext/module/introspection'
|
||||
require 'active_support/core_ext/object/duplicable'
|
||||
require 'active_support/deprecation'
|
||||
require 'arel'
|
||||
require 'active_record/errors'
|
||||
require 'active_record/log_subscriber'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
require 'active_support/deprecation/reporting'
|
||||
require 'active_record/migration/join_table'
|
||||
|
||||
module ActiveRecord
|
||||
|
|
|
@ -2,7 +2,6 @@ require 'date'
|
|||
require 'bigdecimal'
|
||||
require 'bigdecimal/util'
|
||||
require 'active_support/core_ext/benchmark'
|
||||
require 'active_support/deprecation'
|
||||
require 'active_record/connection_adapters/schema_cache'
|
||||
require 'monitor'
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
require 'set'
|
||||
require 'active_support/deprecation'
|
||||
|
||||
module ActiveRecord
|
||||
# :stopdoc:
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
require "active_support/core_ext/class/attribute_accessors"
|
||||
require 'active_support/deprecation'
|
||||
require 'set'
|
||||
|
||||
module ActiveRecord
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
require 'active_support/deprecation'
|
||||
require 'active_support/core_ext/module/attribute_accessors'
|
||||
|
||||
module ActiveRecord
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
require 'active_support/deprecation'
|
||||
|
||||
module ActiveRecord
|
||||
module Querying
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
require 'active_support/deprecation'
|
||||
|
||||
module ActiveRecord
|
||||
# = Active Record Relation
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
require 'active_support/deprecation'
|
||||
|
||||
module ActiveRecord
|
||||
module Scoping
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
require 'active_support/core_ext/array'
|
||||
require 'active_support/core_ext/hash/except'
|
||||
require 'active_support/core_ext/kernel/singleton_class'
|
||||
require 'active_support/deprecation'
|
||||
|
||||
module ActiveRecord
|
||||
# = Active Record Named \Scopes
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
require 'active_support/deprecation'
|
||||
require 'active_support/test_case'
|
||||
|
||||
ActiveSupport::Deprecation.warn('ActiveRecord::TestCase is deprecated, please use ActiveSupport::TestCase')
|
||||
|
|
|
@ -6,8 +6,8 @@ gem 'minitest'
|
|||
require 'minitest/autorun'
|
||||
require 'stringio'
|
||||
|
||||
require 'cases/test_case'
|
||||
require 'active_record'
|
||||
require 'cases/test_case'
|
||||
require 'active_support/dependencies'
|
||||
require 'active_support/logger'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
require 'active_support/deprecation'
|
||||
ActiveSupport::Deprecation.silence do
|
||||
require 'active_record/test_case'
|
||||
end
|
||||
|
|
|
@ -25,3 +25,6 @@ require 'active_support/core_ext/class/attribute'
|
|||
|
||||
# Defines Module#delegate.
|
||||
require 'active_support/core_ext/module/delegation'
|
||||
|
||||
# Defines ActiveSupport::Deprecation.
|
||||
require 'active_support/deprecation'
|
||||
|
|
Loading…
Reference in a new issue