aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/base.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib/active_record/base.rb')
-rwxr-xr-xactiverecord/lib/active_record/base.rb9
1 files changed, 6 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index df15457a9a..5e1185065e 100755
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -29,11 +29,14 @@ module ActiveRecord #:nodoc:
end
class StaleObjectError < ActiveRecordError #:nodoc:
end
- class ConfigurationError < StandardError #:nodoc:
+ class ConfigurationError < ActiveRecordError #:nodoc:
end
- class ReadOnlyRecord < StandardError #:nodoc:
+ class ReadOnlyRecord < ActiveRecordError #:nodoc:
end
- class Rollback < StandardError #:nodoc:
+ class Rollback < ActiveRecordError #:nodoc:
+ end
+
+ class DangerousAttributeError < ActiveRecordError #:nodoc:
end
# Raised when you've tried to access a column, which wasn't