aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/base.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-09-11 10:05:46 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-09-11 10:05:46 +0000
commitb646e0ddf7b1db3046d9d592060d7147f497cba3 (patch)
tree5eec78c2fb1545a3b12d02683e4ef8e0ac09592b /activerecord/lib/active_record/base.rb
parentc0e618cf6f7f6c4a474e4ed30e05c16620615b9a (diff)
downloadrails-b646e0ddf7b1db3046d9d592060d7147f497cba3.tar.gz
rails-b646e0ddf7b1db3046d9d592060d7147f497cba3.tar.bz2
rails-b646e0ddf7b1db3046d9d592060d7147f497cba3.zip
Rolled back broken #1814
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2203 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib/active_record/base.rb')
-rwxr-xr-xactiverecord/lib/active_record/base.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index 2d7cd6c17a..c761153941 100755
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -28,8 +28,6 @@ module ActiveRecord #:nodoc:
end
class ConfigurationError < StandardError #:nodoc:
end
- class UnknownTypeError < ActiveRecordError #:nodoc:
- end
class AttributeAssignmentError < ActiveRecordError #:nodoc:
attr_reader :exception, :attribute
@@ -224,7 +222,6 @@ module ActiveRecord #:nodoc:
# objects that should be inspected to determine which attributes triggered the errors.
# * +AttributeAssignmentError+ -- an error occurred while doing a mass assignment through the +attributes=+ method.
# You can inspect the +attribute+ property of the exception object to determine which attribute triggered the error.
- # * +UnknownTypeError+ -- Raised when AbstractAdapter#type_to_sql cannot map the type given to a native type.
#
# *Note*: The attributes listed are class-level attributes (accessible from both the class and instance level).
# So it's possible to assign a logger to the class through Base.logger= which will then be used by all