Permalink
Browse files

load active_support/core_ext/class/attribute in active_support/rails

  • Loading branch information...
1 parent 64bc844 commit 5e1b92044c8f2afa9e0b80095a9c9defbeaaf2e2 @fxn fxn committed Aug 2, 2012
Showing with 6 additions and 34 deletions.
  1. +0 −1 actionmailer/lib/action_mailer/test_case.rb
  2. +0 −1 actionpack/lib/abstract_controller.rb
  3. +0 −1 actionpack/lib/action_controller/metal.rb
  4. +0 −1 actionpack/lib/action_controller/metal/helpers.rb
  5. +0 −1 actionpack/lib/action_controller/metal/hide_actions.rb
  6. +0 −1 actionpack/lib/action_controller/metal/mime_responds.rb
  7. +0 −1 actionpack/lib/action_controller/metal/params_wrapper.rb
  8. +0 −1 actionpack/lib/action_controller/metal/renderers.rb
  9. +0 −1 actionpack/lib/action_controller/metal/request_forgery_protection.rb
  10. +0 −1 actionpack/lib/action_controller/test_case.rb
  11. +0 −1 actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb
  12. +0 −1 actionpack/lib/action_view/base.rb
  13. +0 −1 actionpack/lib/action_view/helpers/asset_tag_helpers/asset_include_tag.rb
  14. +0 −1 actionpack/lib/action_view/helpers/form_helper.rb
  15. +0 −1 actionpack/lib/action_view/template/handlers/erb.rb
  16. +0 −1 activemodel/lib/active_model/attribute_methods.rb
  17. +0 −1 activemodel/lib/active_model/mass_assignment_security.rb
  18. +0 −1 activemodel/lib/active_model/serializers/json.rb
  19. +0 −1 activemodel/lib/active_model/validations.rb
  20. +0 −1 activerecord/lib/active_record/associations.rb
  21. +0 −1 activerecord/lib/active_record/attribute_methods/dirty.rb
  22. +0 −1 activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb
  23. +0 −1 activerecord/lib/active_record/base.rb
  24. +0 −1 activerecord/lib/active_record/explain.rb
  25. +0 −1 activerecord/lib/active_record/nested_attributes.rb
  26. +0 −1 activerecord/lib/active_record/observer.rb
  27. +0 −1 activerecord/lib/active_record/readonly_attributes.rb
  28. +0 −1 activerecord/lib/active_record/reflection.rb
  29. +0 −1 activerecord/lib/active_record/scoping/named.rb
  30. +0 −1 activerecord/lib/active_record/store.rb
  31. +0 −1 activerecord/lib/active_record/timestamp.rb
  32. +6 −3 activesupport/lib/active_support/rails.rb
@@ -1,5 +1,4 @@
require 'active_support/test_case'
-require 'active_support/core_ext/class/attribute'
module ActionMailer
class NonInferrableMailerError < ::StandardError
@@ -1,6 +1,5 @@
require 'action_pack'
require 'active_support/rails'
-require 'active_support/core_ext/class/attribute'
require 'active_support/core_ext/module/attr_internal'
require 'active_support/core_ext/module/delegation'
require 'active_support/core_ext/module/anonymous'
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/class/attribute'
require 'action_dispatch/middleware/stack'
module ActionController
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/class/attribute'
module ActionController
# The \Rails framework provides a large number of helpers for working with assets, dates, forms,
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/class/attribute'
module ActionController
# Adds the ability to prevent public methods on a controller to be called as actions.
@@ -1,5 +1,4 @@
require 'abstract_controller/collector'
-require 'active_support/core_ext/class/attribute'
module ActionController #:nodoc:
module MimeResponds
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/class/attribute'
require 'active_support/core_ext/hash/slice'
require 'active_support/core_ext/hash/except'
require 'active_support/core_ext/module/anonymous'
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/class/attribute'
require 'set'
module ActionController
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/class/attribute'
require 'action_controller/metal/exceptions'
module ActionController #:nodoc:
@@ -1,6 +1,5 @@
require 'rack/session/abstract/id'
require 'active_support/core_ext/object/to_query'
-require 'active_support/core_ext/class/attribute'
require 'active_support/core_ext/module/anonymous'
module ActionController
@@ -1,6 +1,5 @@
require 'set'
require 'cgi'
-require 'active_support/core_ext/class/attribute'
require 'active_support/core_ext/class/attribute_accessors'
module HTML
@@ -1,6 +1,5 @@
require 'active_support/core_ext/module/attr_internal'
require 'active_support/core_ext/module/delegation'
-require 'active_support/core_ext/class/attribute'
require 'active_support/core_ext/class/attribute_accessors'
require 'active_support/ordered_options'
require 'action_view/log_subscriber'
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/class/attribute'
require 'active_support/core_ext/string/inflections'
require 'active_support/core_ext/file'
require 'action_view/helpers/tag_helper'
@@ -4,7 +4,6 @@
require 'action_view/helpers/form_tag_helper'
require 'action_view/helpers/active_model_helper'
require 'action_view/helpers/tags'
-require 'active_support/core_ext/class/attribute'
require 'active_support/core_ext/class/attribute_accessors'
require 'active_support/core_ext/hash/slice'
require 'active_support/core_ext/string/output_safety'
@@ -1,5 +1,4 @@
require 'action_dispatch/http/mime_type'
-require 'active_support/core_ext/class/attribute'
require 'erubis'
module ActionView
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/class/attribute'
require 'active_support/deprecation'
module ActiveModel
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/class/attribute'
require 'active_support/core_ext/string/inflections'
require 'active_model/mass_assignment_security/permission_set'
require 'active_model/mass_assignment_security/sanitizer'
@@ -1,5 +1,4 @@
require 'active_support/json'
-require 'active_support/core_ext/class/attribute'
module ActiveModel
# == Active Model JSON Serializer
@@ -1,5 +1,4 @@
require 'active_support/core_ext/array/extract_options'
-require 'active_support/core_ext/class/attribute'
require 'active_support/core_ext/hash/keys'
require 'active_support/core_ext/hash/except'
require 'active_model/errors'
@@ -2,7 +2,6 @@
require 'active_support/core_ext/module/delegation'
require 'active_support/core_ext/string/conversions'
require 'active_support/core_ext/module/remove_method'
-require 'active_support/core_ext/class/attribute'
module ActiveRecord
class InverseOfAssociationNotFoundError < ActiveRecordError #:nodoc:
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/class/attribute'
require 'active_support/core_ext/module/attribute_accessors'
module ActiveRecord
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/class/attribute'
module ActiveRecord
ActiveSupport.on_load(:active_record_config) do
@@ -4,7 +4,6 @@
require 'active_support/dependencies'
require 'active_support/descendants_tracker'
require 'active_support/time'
-require 'active_support/core_ext/class/attribute'
require 'active_support/core_ext/class/attribute_accessors'
require 'active_support/core_ext/class/delegating_attributes'
require 'active_support/core_ext/array/extract_options'
@@ -1,5 +1,4 @@
require 'active_support/lazy_load_hooks'
-require 'active_support/core_ext/class/attribute'
module ActiveRecord
ActiveSupport.on_load(:active_record_config) do
@@ -1,7 +1,6 @@
require 'active_support/core_ext/hash/except'
require 'active_support/core_ext/object/try'
require 'active_support/core_ext/hash/indifferent_access'
-require 'active_support/core_ext/class/attribute'
module ActiveRecord
ActiveSupport.on_load(:active_record_config) do
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/class/attribute'
module ActiveRecord
# = Active Record Observer
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/class/attribute'
module ActiveRecord
module ReadonlyAttributes
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/class/attribute'
module ActiveRecord
# = Active Record Reflection
@@ -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/core_ext/class/attribute'
require 'active_support/deprecation'
module ActiveRecord
@@ -1,5 +1,4 @@
require 'active_support/core_ext/hash/indifferent_access'
-require 'active_support/core_ext/class/attribute'
module ActiveRecord
# Store gives you a thin wrapper around serialize for the purpose of storing hashes in a single column.
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/class/attribute'
module ActiveRecord
ActiveSupport.on_load(:active_record_config) do
@@ -8,14 +8,17 @@
# but it does not belong to the Rails public interface. It is internal to
# Rails and can change anytime.
-# blank? and present?
+# Defines Object#blank? and Object#present?.
require 'active_support/core_ext/object/blank'
-# in?
+# Defines Object#in?.
require 'active_support/core_ext/object/inclusion'
# Rails own autoload, eager_load, etc.
require 'active_support/dependencies/autoload'
-# support for ClassMethods and the included macro
+# Support for ClassMethods and the included macro.
require 'active_support/concern'
+
+# Defines Class#class_attribute.
+require 'active_support/core_ext/class/attribute'

0 comments on commit 5e1b920

Please sign in to comment.