diff --git a/activemodel/lib/active_model/callbacks.rb b/activemodel/lib/active_model/callbacks.rb deleted file mode 100644 index c94f76109f000..0000000000000 --- a/activemodel/lib/active_model/callbacks.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'active_model/core' - -module ActiveModel - module Callbacks - - end -end \ No newline at end of file diff --git a/activemodel/lib/active_model/core.rb b/activemodel/lib/active_model/core.rb deleted file mode 100644 index 47b968e12107a..0000000000000 --- a/activemodel/lib/active_model/core.rb +++ /dev/null @@ -1,7 +0,0 @@ -# This file is required by each major ActiveModel component for the core requirements. This allows you to -# load individual pieces of ActiveModel as needed. -$LOAD_PATH << File.join(File.dirname(__FILE__), '..', '..', '..', 'activesupport', 'lib') - -# premature optimization? -# So far, we only need the string inflections and not the rest of ActiveSupport. -require 'active_support/inflector' \ No newline at end of file diff --git a/activemodel/lib/active_model/observing.rb b/activemodel/lib/active_model/observing.rb index 9e99d7472cd46..d3c6d8e4823ff 100644 --- a/activemodel/lib/active_model/observing.rb +++ b/activemodel/lib/active_model/observing.rb @@ -1,6 +1,5 @@ require 'observer' require 'singleton' -require 'active_model/core' module ActiveModel module Observing diff --git a/activemodel/lib/active_model/validations.rb b/activemodel/lib/active_model/validations.rb index caab9e7b73c9f..cef107bb4d332 100644 --- a/activemodel/lib/active_model/validations.rb +++ b/activemodel/lib/active_model/validations.rb @@ -1,5 +1,3 @@ -require 'active_model/core' - module ActiveModel module Validations def self.included(base) # :nodoc: