aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2009-03-21 01:32:59 +0000
committerPratik Naik <pratiknaik@gmail.com>2009-03-21 01:32:59 +0000
commit2bc4189faf1dc9ebc59054be0b54e15d098ab1f2 (patch)
tree051a94613e76b179efee06a6f9b909bc253a441f /activemodel
parente4b89b4680d612dea7322a662aea7f83e5c718fb (diff)
downloadrails-2bc4189faf1dc9ebc59054be0b54e15d098ab1f2.tar.gz
rails-2bc4189faf1dc9ebc59054be0b54e15d098ab1f2.tar.bz2
rails-2bc4189faf1dc9ebc59054be0b54e15d098ab1f2.zip
Get rid of active_model/core and active_model/callbacks
Diffstat (limited to 'activemodel')
-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: