1
0
Fork 0
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:
Xavier Noria 2012-08-02 21:34:44 +02:00
parent 4aee8dd486
commit 077372b20d
20 changed files with 4 additions and 19 deletions

View file

@ -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'

View file

@ -1,4 +1,3 @@
require 'active_support/deprecation'
module ActiveModel
# Raised when an attribute is not defined.

View file

@ -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'

View file

@ -1,5 +1,4 @@
require 'active_support/core_ext/array/wrap'
require 'active_support/deprecation'
module ActiveRecord
module Associations

View file

@ -1,4 +1,3 @@
require 'active_support/deprecation'
module ActiveRecord::Associations::Builder
class CollectionAssociation < Association #:nodoc:

View file

@ -1,5 +1,4 @@
require 'active_support/core_ext/enumerable'
require 'active_support/deprecation'
module ActiveRecord
# = Active Record Attribute Methods

View file

@ -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'

View file

@ -1,4 +1,3 @@
require 'active_support/deprecation/reporting'
require 'active_record/migration/join_table'
module ActiveRecord

View file

@ -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'

View file

@ -1,5 +1,4 @@
require 'set'
require 'active_support/deprecation'
module ActiveRecord
# :stopdoc:

View file

@ -1,5 +1,4 @@
require "active_support/core_ext/class/attribute_accessors"
require 'active_support/deprecation'
require 'set'
module ActiveRecord

View file

@ -1,4 +1,3 @@
require 'active_support/deprecation'
require 'active_support/core_ext/module/attribute_accessors'
module ActiveRecord

View file

@ -1,4 +1,3 @@
require 'active_support/deprecation'
module ActiveRecord
module Querying

View file

@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
require 'active_support/deprecation'
module ActiveRecord
# = Active Record Relation

View file

@ -1,4 +1,3 @@
require 'active_support/deprecation'
module ActiveRecord
module Scoping

View file

@ -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

View file

@ -1,4 +1,3 @@
require 'active_support/deprecation'
require 'active_support/test_case'
ActiveSupport::Deprecation.warn('ActiveRecord::TestCase is deprecated, please use ActiveSupport::TestCase')

View file

@ -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'

View file

@ -1,4 +1,3 @@
require 'active_support/deprecation'
ActiveSupport::Deprecation.silence do
require 'active_record/test_case'
end

View file

@ -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'