diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2013-01-01 20:56:35 -0800 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2013-01-01 20:56:35 -0800 |
commit | e443ac03a45e9444a688fcf840edd06aa361e9b0 (patch) | |
tree | 92c007990449f313c624a9354334ee41a49292fc /activerecord/lib/active_record/aggregations.rb | |
parent | bb38df89bfbfc37913babe2edf6ad73b0dc80358 (diff) | |
parent | 7bc224dda00133dcb72c531d3b46391a88f21062 (diff) | |
download | rails-e443ac03a45e9444a688fcf840edd06aa361e9b0.tar.gz rails-e443ac03a45e9444a688fcf840edd06aa361e9b0.tar.bz2 rails-e443ac03a45e9444a688fcf840edd06aa361e9b0.zip |
Merge pull request #8682 from amatsuda/rm_as_frozen_object_error
remove meaningless AS::FrozenObjectError
Diffstat (limited to 'activerecord/lib/active_record/aggregations.rb')
-rw-r--r-- | activerecord/lib/active_record/aggregations.rb | 2 |
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 |