Skip to content
Browse files

load active_support/core_ext/object/blank in active_support/rails

  • Loading branch information...
1 parent 1a7b2e8 commit 8f58d6e5074a623bed752d5ba38513305f03fae9 @fxn fxn committed Aug 2, 2012
Showing with 2 additions and 54 deletions.
  1. +0 −1 actionmailer/lib/action_mailer.rb
  2. +0 −1 actionmailer/lib/action_mailer/base.rb
  3. +0 −1 actionpack/lib/action_controller/log_subscriber.rb
  4. +0 −1 actionpack/lib/action_controller/metal.rb
  5. +0 −1 actionpack/lib/action_controller/metal/http_authentication.rb
  6. +0 −1 actionpack/lib/action_controller/metal/renderers.rb
  7. +0 −1 actionpack/lib/action_controller/test_case.rb
  8. +0 −1 actionpack/lib/action_dispatch/http/cache.rb
  9. +0 −1 actionpack/lib/action_dispatch/http/filter_parameters.rb
  10. +0 −1 actionpack/lib/action_dispatch/http/mime_type.rb
  11. +0 −1 actionpack/lib/action_dispatch/http/response.rb
  12. +0 −1 actionpack/lib/action_dispatch/middleware/cookies.rb
  13. +0 −1 actionpack/lib/action_dispatch/middleware/request_id.rb
  14. +0 −1 actionpack/lib/action_dispatch/middleware/session/abstract_store.rb
  15. +0 −1 actionpack/lib/action_dispatch/middleware/session/cookie_store.rb
  16. +0 −1 actionpack/lib/action_dispatch/routing/mapper.rb
  17. +0 −1 actionpack/lib/action_dispatch/routing/route_set.rb
  18. +0 −1 actionpack/lib/action_dispatch/testing/test_request.rb
  19. +0 −1 actionpack/lib/action_view/helpers/active_model_helper.rb
  20. +0 −1 actionpack/lib/action_view/helpers/capture_helper.rb
  21. +0 −1 actionpack/lib/action_view/helpers/form_helper.rb
  22. +0 −1 actionpack/lib/action_view/helpers/form_options_helper.rb
  23. +0 −1 actionpack/lib/action_view/helpers/form_tag_helper.rb
  24. +0 −1 actionpack/lib/action_view/helpers/tag_helper.rb
  25. +0 −1 actionpack/lib/action_view/helpers/text_helper.rb
  26. +0 −1 actionpack/lib/action_view/lookup_context.rb
  27. +0 −1 actionpack/lib/action_view/renderer/partial_renderer.rb
  28. +0 −1 actionpack/lib/action_view/template.rb
  29. +0 −1 actionpack/lib/action_view/test_case.rb
  30. +0 −1 activemodel/lib/active_model/dirty.rb
  31. +0 −1 activemodel/lib/active_model/errors.rb
  32. +0 −1 activemodel/lib/active_model/naming.rb
  33. +0 −1 activemodel/lib/active_model/validations/presence.rb
  34. +0 −1 activemodel/lib/active_model/validator.rb
  35. +0 −1 activerecord/lib/active_record/associations.rb
  36. +0 −1 activerecord/lib/active_record/associations/has_many_through_association.rb
  37. +0 −1 activerecord/lib/active_record/attribute_methods/dirty.rb
  38. +0 −1 activerecord/lib/active_record/attribute_methods/query.rb
  39. +0 −1 activerecord/lib/active_record/base.rb
  40. +0 −1 activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb
  41. +0 −1 activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
  42. +0 −1 activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
  43. +0 −1 activerecord/lib/active_record/fixtures.rb
  44. +0 −1 activerecord/lib/active_record/nested_attributes.rb
  45. +0 −1 activerecord/lib/active_record/query_cache.rb
  46. +0 −1 activerecord/lib/active_record/relation.rb
  47. +0 −1 activerecord/lib/active_record/relation/batches.rb
  48. +0 −1 activerecord/lib/active_record/relation/calculations.rb
  49. +0 −1 activerecord/lib/active_record/relation/finder_methods.rb
  50. +0 −1 activerecord/lib/active_record/relation/merger.rb
  51. +0 −1 activerecord/lib/active_record/relation/query_methods.rb
  52. +0 −1 activerecord/lib/active_record/relation/spawn_methods.rb
  53. +0 −1 activerecord/lib/active_record/schema.rb
  54. +0 −1 activerecord/lib/active_record/scoping/named.rb
  55. +2 −0 activesupport/lib/active_support/rails.rb
View
1 actionmailer/lib/action_mailer.rb
@@ -28,7 +28,6 @@
# Common Active Support usage in Action Mailer
require 'active_support/rails'
require 'active_support/core_ext/class'
-require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/module/attr_internal'
require 'active_support/core_ext/module/delegation'
require 'active_support/core_ext/string/inflections'
View
1 actionmailer/lib/action_mailer/base.rb
@@ -1,6 +1,5 @@
require 'mail'
require 'action_mailer/collector'
-require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/string/inflections'
require 'active_support/core_ext/hash/except'
require 'active_support/core_ext/module/anonymous'
View
1 actionpack/lib/action_controller/log_subscriber.rb
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/object/blank'
module ActionController
class LogSubscriber < ActiveSupport::LogSubscriber
View
1 actionpack/lib/action_controller/metal.rb
@@ -1,5 +1,4 @@
require 'active_support/core_ext/class/attribute'
-require 'active_support/core_ext/object/blank'
require 'action_dispatch/middleware/stack'
module ActionController
View
1 actionpack/lib/action_controller/metal/http_authentication.rb
@@ -1,5 +1,4 @@
require 'base64'
-require 'active_support/core_ext/object/blank'
module ActionController
# Makes it dead easy to do HTTP Basic, Digest and Token authentication.
View
1 actionpack/lib/action_controller/metal/renderers.rb
@@ -1,5 +1,4 @@
require 'active_support/core_ext/class/attribute'
-require 'active_support/core_ext/object/blank'
require 'set'
module ActionController
View
1 actionpack/lib/action_controller/test_case.rb
@@ -1,5 +1,4 @@
require 'rack/session/abstract/id'
-require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/object/to_query'
require 'active_support/core_ext/class/attribute'
require 'active_support/core_ext/module/anonymous'
View
1 actionpack/lib/action_dispatch/http/cache.rb
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/object/blank'
module ActionDispatch
module Http
View
1 actionpack/lib/action_dispatch/http/filter_parameters.rb
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/hash/keys'
require 'active_support/core_ext/object/duplicable'
View
1 actionpack/lib/action_dispatch/http/mime_type.rb
@@ -1,6 +1,5 @@
require 'set'
require 'active_support/core_ext/class/attribute_accessors'
-require 'active_support/core_ext/object/blank'
module Mime
class Mimes < Array
View
1 actionpack/lib/action_dispatch/http/response.rb
@@ -1,6 +1,5 @@
require 'digest/md5'
require 'active_support/core_ext/module/delegation'
-require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/class/attribute_accessors'
require 'monitor'
View
1 actionpack/lib/action_dispatch/middleware/cookies.rb
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/hash/keys'
require 'active_support/core_ext/module/attribute_accessors'
View
1 actionpack/lib/action_dispatch/middleware/request_id.rb
@@ -1,6 +1,5 @@
require 'securerandom'
require 'active_support/core_ext/string/access'
-require 'active_support/core_ext/object/blank'
module ActionDispatch
# Makes a unique request id available to the action_dispatch.request_id env variable (which is then accessible through
View
1 actionpack/lib/action_dispatch/middleware/session/abstract_store.rb
@@ -3,7 +3,6 @@
require 'rack/session/abstract/id'
require 'action_dispatch/middleware/cookies'
require 'action_dispatch/request/session'
-require 'active_support/core_ext/object/blank'
module ActionDispatch
module Session
View
1 actionpack/lib/action_dispatch/middleware/session/cookie_store.rb
@@ -1,5 +1,4 @@
require 'active_support/core_ext/hash/keys'
-require 'active_support/core_ext/object/blank'
require 'action_dispatch/middleware/session/abstract_store'
require 'rack/session/cookie'
View
1 actionpack/lib/action_dispatch/routing/mapper.rb
@@ -1,7 +1,6 @@
require 'active_support/core_ext/hash/except'
require 'active_support/core_ext/hash/reverse_merge'
require 'active_support/core_ext/hash/slice'
-require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/enumerable'
require 'active_support/inflector'
require 'action_dispatch/routing/redirection'
View
1 actionpack/lib/action_dispatch/routing/route_set.rb
@@ -1,6 +1,5 @@
require 'journey'
require 'forwardable'
-require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/object/to_query'
require 'active_support/core_ext/hash/slice'
require 'active_support/core_ext/module/remove_method'
View
1 actionpack/lib/action_dispatch/testing/test_request.rb
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/hash/indifferent_access'
require 'rack/utils'
View
1 actionpack/lib/action_view/helpers/active_model_helper.rb
@@ -1,6 +1,5 @@
require 'active_support/core_ext/class/attribute_accessors'
require 'active_support/core_ext/enumerable'
-require 'active_support/core_ext/object/blank'
module ActionView
# = Active Model Helpers
View
1 actionpack/lib/action_view/helpers/capture_helper.rb
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/string/output_safety'
module ActionView
View
1 actionpack/lib/action_view/helpers/form_helper.rb
@@ -7,7 +7,6 @@
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/object/blank'
require 'active_support/core_ext/string/output_safety'
require 'active_support/core_ext/array/extract_options'
require 'active_support/deprecation'
View
1 actionpack/lib/action_view/helpers/form_options_helper.rb
@@ -1,7 +1,6 @@
require 'cgi'
require 'erb'
require 'action_view/helpers/form_helper'
-require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/string/output_safety'
module ActionView
View
1 actionpack/lib/action_view/helpers/form_tag_helper.rb
@@ -1,6 +1,5 @@
require 'cgi'
require 'action_view/helpers/tag_helper'
-require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/string/output_safety'
require 'active_support/core_ext/module/attribute_accessors'
View
1 actionpack/lib/action_view/helpers/tag_helper.rb
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/string/output_safety'
require 'set'
View
1 actionpack/lib/action_view/helpers/text_helper.rb
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/string/filters'
require 'active_support/core_ext/array/extract_options'
View
1 actionpack/lib/action_view/lookup_context.rb
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/module/remove_method'
module ActionView
View
1 actionpack/lib/action_view/renderer/partial_renderer.rb
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/object/blank'
module ActionView
# = Action View Partials
View
1 actionpack/lib/action_view/template.rb
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/object/try'
require 'active_support/core_ext/kernel/singleton_class'
require 'thread'
View
1 actionpack/lib/action_view/test_case.rb
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/module/delegation'
require 'active_support/core_ext/module/remove_method'
require 'action_controller'
View
1 activemodel/lib/active_model/dirty.rb
@@ -1,7 +1,6 @@
require 'active_model/attribute_methods'
require 'active_support/hash_with_indifferent_access'
require 'active_support/core_ext/object/duplicable'
-require 'active_support/core_ext/object/blank'
module ActiveModel
# == Active Model Dirty
View
1 activemodel/lib/active_model/errors.rb
@@ -2,7 +2,6 @@
require 'active_support/core_ext/array/conversions'
require 'active_support/core_ext/string/inflections'
-require 'active_support/core_ext/object/blank'
module ActiveModel
# == Active Model Errors
View
1 activemodel/lib/active_model/naming.rb
@@ -2,7 +2,6 @@
require 'active_support/core_ext/hash/except'
require 'active_support/core_ext/module/introspection'
require 'active_support/core_ext/module/delegation'
-require 'active_support/core_ext/object/blank'
module ActiveModel
class Name
View
1 activemodel/lib/active_model/validations/presence.rb
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/object/blank'
module ActiveModel
View
1 activemodel/lib/active_model/validator.rb
@@ -1,5 +1,4 @@
require "active_support/core_ext/module/anonymous"
-require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/object/inclusion'
module ActiveModel #:nodoc:
View
1 activerecord/lib/active_record/associations.rb
@@ -1,6 +1,5 @@
require 'active_support/core_ext/enumerable'
require 'active_support/core_ext/module/delegation'
-require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/string/conversions'
require 'active_support/core_ext/module/remove_method'
require 'active_support/core_ext/class/attribute'
View
1 activerecord/lib/active_record/associations/has_many_through_association.rb
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/object/blank'
module ActiveRecord
# = Active Record Has Many Through Association
View
1 activerecord/lib/active_record/attribute_methods/dirty.rb
@@ -1,5 +1,4 @@
require 'active_support/core_ext/class/attribute'
-require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/module/attribute_accessors'
module ActiveRecord
View
1 activerecord/lib/active_record/attribute_methods/query.rb
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/object/blank'
module ActiveRecord
module AttributeMethods
View
1 activerecord/lib/active_record/base.rb
@@ -16,7 +16,6 @@
require 'active_support/core_ext/module/delegation'
require 'active_support/core_ext/module/introspection'
require 'active_support/core_ext/object/duplicable'
-require 'active_support/core_ext/object/blank'
require 'active_support/deprecation'
require 'arel'
require 'active_record/errors'
View
1 activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/object/blank'
require 'date'
require 'set'
require 'bigdecimal'
View
1 activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/object/blank'
require 'arel/visitors/bind_visitor'
module ActiveRecord
View
1 activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
@@ -1,5 +1,4 @@
require 'active_record/connection_adapters/abstract_adapter'
-require 'active_support/core_ext/object/blank'
require 'active_record/connection_adapters/statement_pool'
require 'active_record/connection_adapters/postgresql/oid'
require 'arel/visitors/bind_visitor'
View
1 activerecord/lib/active_record/fixtures.rb
@@ -2,7 +2,6 @@
require 'yaml'
require 'zlib'
require 'active_support/dependencies'
-require 'active_support/core_ext/object/blank'
require 'active_record/fixtures/file'
require 'active_record/errors'
View
1 activerecord/lib/active_record/nested_attributes.rb
@@ -1,6 +1,5 @@
require 'active_support/core_ext/hash/except'
require 'active_support/core_ext/object/try'
-require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/hash/indifferent_access'
require 'active_support/core_ext/class/attribute'
View
1 activerecord/lib/active_record/query_cache.rb
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/object/blank'
module ActiveRecord
# = Active Record Query Cache
View
1 activerecord/lib/active_record/relation.rb
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
-require 'active_support/core_ext/object/blank'
require 'active_support/deprecation'
module ActiveRecord
View
1 activerecord/lib/active_record/relation/batches.rb
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/object/blank'
module ActiveRecord
module Batches
View
1 activerecord/lib/active_record/relation/calculations.rb
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/object/try'
module ActiveRecord
View
1 activerecord/lib/active_record/relation/finder_methods.rb
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/hash/indifferent_access'
module ActiveRecord
View
1 activerecord/lib/active_record/relation/merger.rb
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/hash/keys'
module ActiveRecord
View
1 activerecord/lib/active_record/relation/query_methods.rb
@@ -1,5 +1,4 @@
require 'active_support/core_ext/array/wrap'
-require 'active_support/core_ext/object/blank'
module ActiveRecord
module QueryMethods
View
1 activerecord/lib/active_record/relation/spawn_methods.rb
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/hash/except'
require 'active_support/core_ext/hash/slice'
require 'active_record/relation/merger'
View
1 activerecord/lib/active_record/schema.rb
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/object/blank'
module ActiveRecord
# = Active Record Schema
View
1 activerecord/lib/active_record/scoping/named.rb
@@ -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/object/blank'
require 'active_support/core_ext/class/attribute'
require 'active_support/deprecation'
View
2 activesupport/lib/active_support/rails.rb
@@ -7,3 +7,5 @@
# This file is loaded by every Rails component except Active Support itself,
# but it does not belong to the Rails public interface. It is internal to
# Rails and can change anytime.
+
+require 'active_support/core_ext/object/blank'

0 comments on commit 8f58d6e

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