diff options
author | Bryan Woods <bryanwoods4e@gmail.com> | 2010-06-15 12:36:21 -0400 |
---|---|---|
committer | Bryan Woods <bryanwoods4e@gmail.com> | 2010-06-15 12:36:21 -0400 |
commit | 538b7b97bb64f56a9d8c62f280106f3916080f6d (patch) | |
tree | b8d5d7b6bf996078fb63adba3671a460a2ce9bce | |
parent | ef404c771d11b5c396907e47581f36b654d820df (diff) | |
download | rails-538b7b97bb64f56a9d8c62f280106f3916080f6d.tar.gz rails-538b7b97bb64f56a9d8c62f280106f3916080f6d.tar.bz2 rails-538b7b97bb64f56a9d8c62f280106f3916080f6d.zip |
Active Record Associations - minor change of DeleteRestrictionError doc for clarity
-rwxr-xr-x | activerecord/lib/active_record/associations.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index 680893a048..185e298f5c 100755 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -88,7 +88,7 @@ module ActiveRecord end end - # This error is raised when trying to destroy a parent instance in a N:1, 1:1 associations + # This error is raised when trying to destroy a parent instance in N:1 or 1:1 associations # (has_many, has_one) when there is at least 1 child associated instance. # ex: if @project.tasks.size > 0, DeleteRestrictionError will be raised when trying to destroy @project class DeleteRestrictionError < ActiveRecordError #:nodoc: |