Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added missing require 'active_support/concern' in Active Record

  • Loading branch information...
commit b8a516522005a1edbb9f92e47ca06427f6c33884 1 parent b5a2f24
Toshinori Kajihara authored

Showing 26 changed files with 37 additions and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  activerecord/lib/active_record/attribute_methods.rb
  2. +2 0  activerecord/lib/active_record/attribute_methods/before_type_cast.rb
  3. +1 0  activerecord/lib/active_record/attribute_methods/dirty.rb
  4. +1 0  activerecord/lib/active_record/attribute_methods/primary_key.rb
  5. +1 0  activerecord/lib/active_record/attribute_methods/query.rb
  6. +2 0  activerecord/lib/active_record/attribute_methods/read.rb
  7. +2 0  activerecord/lib/active_record/attribute_methods/serialization.rb
  8. +1 0  activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb
  9. +2 0  activerecord/lib/active_record/attribute_methods/write.rb
  10. +2 0  activerecord/lib/active_record/autosave_association.rb
  11. +2 0  activerecord/lib/active_record/callbacks.rb
  12. +2 0  activerecord/lib/active_record/counter_cache.rb
  13. +1 0  activerecord/lib/active_record/fixtures.rb
  14. +2 0  activerecord/lib/active_record/locking/optimistic.rb
  15. +1 0  activerecord/lib/active_record/nested_attributes.rb
  16. +1 0  activerecord/lib/active_record/railties/controller_runtime.rb
  17. +1 0  activerecord/lib/active_record/reflection.rb
  18. +1 0  activerecord/lib/active_record/relation/query_methods.rb
  19. +1 0  activerecord/lib/active_record/scoping/named.rb
  20. +2 0  activerecord/lib/active_record/serialization.rb
  21. +1 0  activerecord/lib/active_record/timestamp.rb
  22. +1 0  activerecord/lib/active_record/transactions.rb
  23. +2 0  activerecord/lib/active_record/validations.rb
  24. +1 0  activerecord/test/cases/associations/eager_load_nested_include_test.rb
  25. +2 0  activerecord/test/cases/validations_repair_helper.rb
  26. +1 0  activerecord/test/models/developer.rb
1  activerecord/lib/active_record/attribute_methods.rb
... ... @@ -1,3 +1,4 @@
  1 +require 'active_support/concern'
1 2 require 'active_support/core_ext/enumerable'
2 3 require 'active_support/deprecation'
3 4
2  activerecord/lib/active_record/attribute_methods/before_type_cast.rb
... ... @@ -1,3 +1,5 @@
  1 +require 'active_support/concern'
  2 +
1 3 module ActiveRecord
2 4 module AttributeMethods
3 5 module BeforeTypeCast
1  activerecord/lib/active_record/attribute_methods/dirty.rb
... ... @@ -1,3 +1,4 @@
  1 +require 'active_support/concern'
1 2 require 'active_support/core_ext/class/attribute'
2 3 require 'active_support/core_ext/object/blank'
3 4 require 'active_support/core_ext/module/attribute_accessors'
1  activerecord/lib/active_record/attribute_methods/primary_key.rb
... ... @@ -1,4 +1,5 @@
1 1 require 'set'
  2 +require 'active_support/concern'
2 3
3 4 module ActiveRecord
4 5 module AttributeMethods
1  activerecord/lib/active_record/attribute_methods/query.rb
... ... @@ -1,3 +1,4 @@
  1 +require 'active_support/concern'
1 2 require 'active_support/core_ext/object/blank'
2 3
3 4 module ActiveRecord
2  activerecord/lib/active_record/attribute_methods/read.rb
... ... @@ -1,3 +1,5 @@
  1 +require 'active_support/concern'
  2 +
1 3 module ActiveRecord
2 4 ActiveSupport.on_load(:active_record_config) do
3 5 mattr_accessor :attribute_types_cached_by_default, instance_accessor: false
2  activerecord/lib/active_record/attribute_methods/serialization.rb
... ... @@ -1,3 +1,5 @@
  1 +require 'active_support/concern'
  2 +
1 3 module ActiveRecord
2 4 module AttributeMethods
3 5 module Serialization
1  activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb
... ... @@ -1,3 +1,4 @@
  1 +require 'active_support/concern'
1 2 require 'active_support/core_ext/class/attribute'
2 3 require 'active_support/core_ext/object/inclusion'
3 4
2  activerecord/lib/active_record/attribute_methods/write.rb
... ... @@ -1,3 +1,5 @@
  1 +require 'active_support/concern'
  2 +
1 3 module ActiveRecord
2 4 module AttributeMethods
3 5 module Write
2  activerecord/lib/active_record/autosave_association.rb
... ... @@ -1,3 +1,5 @@
  1 +require 'active_support/concern'
  2 +
1 3 module ActiveRecord
2 4 # = Active Record Autosave Association
3 5 #
2  activerecord/lib/active_record/callbacks.rb
... ... @@ -1,3 +1,5 @@
  1 +require 'active_support/concern'
  2 +
1 3 module ActiveRecord
2 4 # = Active Record Callbacks
3 5 #
2  activerecord/lib/active_record/counter_cache.rb
... ... @@ -1,3 +1,5 @@
  1 +require 'active_support/concern'
  2 +
1 3 module ActiveRecord
2 4 # = Active Record Counter Cache
3 5 module CounterCache
1  activerecord/lib/active_record/fixtures.rb
... ... @@ -1,6 +1,7 @@
1 1 require 'erb'
2 2 require 'yaml'
3 3 require 'zlib'
  4 +require 'active_support/concern'
4 5 require 'active_support/dependencies'
5 6 require 'active_support/core_ext/object/blank'
6 7 require 'active_record/fixtures/file'
2  activerecord/lib/active_record/locking/optimistic.rb
... ... @@ -1,3 +1,5 @@
  1 +require 'active_support/concern'
  2 +
1 3 module ActiveRecord
2 4 ActiveSupport.on_load(:active_record_config) do
3 5 mattr_accessor :lock_optimistically, instance_accessor: false
1  activerecord/lib/active_record/nested_attributes.rb
... ... @@ -1,3 +1,4 @@
  1 +require 'active_support/concern'
1 2 require 'active_support/core_ext/hash/except'
2 3 require 'active_support/core_ext/object/try'
3 4 require 'active_support/core_ext/object/blank'
1  activerecord/lib/active_record/railties/controller_runtime.rb
... ... @@ -1,3 +1,4 @@
  1 +require 'active_support/concern'
1 2 require 'active_support/core_ext/module/attr_internal'
2 3 require 'active_record/log_subscriber'
3 4
1  activerecord/lib/active_record/reflection.rb
... ... @@ -1,3 +1,4 @@
  1 +require 'active_support/concern'
1 2 require 'active_support/core_ext/class/attribute'
2 3 require 'active_support/core_ext/object/inclusion'
3 4
1  activerecord/lib/active_record/relation/query_methods.rb
... ... @@ -1,3 +1,4 @@
  1 +require 'active_support/concern'
1 2 require 'active_support/core_ext/array/wrap'
2 3 require 'active_support/core_ext/object/blank'
3 4
1  activerecord/lib/active_record/scoping/named.rb
... ... @@ -1,3 +1,4 @@
  1 +require 'active_support/concern'
1 2 require 'active_support/core_ext/array'
2 3 require 'active_support/core_ext/hash/except'
3 4 require 'active_support/core_ext/kernel/singleton_class'
2  activerecord/lib/active_record/serialization.rb
... ... @@ -1,3 +1,5 @@
  1 +require 'active_support/concern'
  2 +
1 3 module ActiveRecord #:nodoc:
2 4 ActiveSupport.on_load(:active_record_config) do
3 5 mattr_accessor :include_root_in_json, instance_accessor: false
1  activerecord/lib/active_record/timestamp.rb
... ... @@ -1,3 +1,4 @@
  1 +require 'active_support/concern'
1 2 require 'active_support/core_ext/class/attribute'
2 3
3 4 module ActiveRecord
1  activerecord/lib/active_record/transactions.rb
... ... @@ -1,4 +1,5 @@
1 1 require 'thread'
  2 +require 'active_support/concern'
2 3
3 4 module ActiveRecord
4 5 # See ActiveRecord::Transactions::ClassMethods for documentation.
2  activerecord/lib/active_record/validations.rb
... ... @@ -1,3 +1,5 @@
  1 +require 'active_support/concern'
  2 +
1 3 module ActiveRecord
2 4 # = Active Record RecordInvalid
3 5 #
1  activerecord/test/cases/associations/eager_load_nested_include_test.rb
@@ -6,6 +6,7 @@
6 6 require 'models/category'
7 7 require 'models/categorization'
8 8 require 'models/tagging'
  9 +require 'active_support/concern'
9 10
10 11 module Remembered
11 12 extend ActiveSupport::Concern
2  activerecord/test/cases/validations_repair_helper.rb
... ... @@ -1,3 +1,5 @@
  1 +require 'active_support/concern'
  2 +
1 3 module ActiveRecord
2 4 module ValidationsRepairHelper
3 5 extend ActiveSupport::Concern
1  activerecord/test/models/developer.rb
... ... @@ -1,4 +1,5 @@
1 1 require 'ostruct'
  2 +require 'active_support/concern'
2 3
3 4 module DeveloperProjectsAssociationExtension
4 5 def find_most_recent

0 comments on commit b8a5165

Please sign in to comment.
Something went wrong with that request. Please try again.