aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activemodel/lib/active_model/callbacks.rb7
-rw-r--r--activemodel/lib/active_model/core.rb7
-rw-r--r--activemodel/lib/active_model/observing.rb1
-rw-r--r--activemodel/lib/active_model/validations.rb2
4 files changed, 0 insertions, 17 deletions
diff --git a/activemodel/lib/active_model/callbacks.rb b/activemodel/lib/active_model/callbacks.rb
deleted file mode 100644
index c94f76109f..0000000000
--- 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 47b968e121..0000000000
--- 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 9e99d7472c..d3c6d8e482 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 caab9e7b73..cef107bb4d 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: