aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2013-01-02 09:37:44 +0900
committerAkira Matsuda <ronnie@dio.jp>2013-01-02 10:04:58 +0900
commit7bc224dda00133dcb72c531d3b46391a88f21062 (patch)
tree23a9f58470f66e290c7d794066dcd2ce6f728032 /activerecord/lib
parent5f638161f736fbc360e843d1edf8d550cbbc8b26 (diff)
downloadrails-7bc224dda00133dcb72c531d3b46391a88f21062.tar.gz
rails-7bc224dda00133dcb72c531d3b46391a88f21062.tar.bz2
rails-7bc224dda00133dcb72c531d3b46391a88f21062.zip
remove meaningless AS::FrozenObjectError
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/aggregations.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/aggregations.rb b/activerecord/lib/active_record/aggregations.rb
index 8101f7a45e..6acfec02c4 100644
--- a/activerecord/lib/active_record/aggregations.rb
+++ b/activerecord/lib/active_record/aggregations.rb
@@ -113,7 +113,7 @@ module ActiveRecord
# other than the writer method.
#
# The immutable requirement is enforced by Active Record by freezing any object assigned as a value
- # object. Attempting to change it afterwards will result in a ActiveSupport::FrozenObjectError.
+ # object. Attempting to change it afterwards will result in a RuntimeError.
#
# Read more about value objects on http://c2.com/cgi/wiki?ValueObject and on the dangers of not
# keeping value objects immutable on http://c2.com/cgi/wiki?ValueObjectsShouldBeImmutable