aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2013-03-06 03:56:36 +0900
committerAkira Matsuda <ronnie@dio.jp>2013-03-06 03:56:36 +0900
commit2fb1cdd0a5cfdac73d8152fd33bc8c1821ea9717 (patch)
tree5398d23e4518d40d6ec28f8c4ba5b7e842d3bf76 /activerecord/lib/active_record
parent6ea48ebfa68947ad66a516bdb7452e0faf3f70a7 (diff)
downloadrails-2fb1cdd0a5cfdac73d8152fd33bc8c1821ea9717.tar.gz
rails-2fb1cdd0a5cfdac73d8152fd33bc8c1821ea9717.tar.bz2
rails-2fb1cdd0a5cfdac73d8152fd33bc8c1821ea9717.zip
Typppo
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r--activerecord/lib/active_record/associations.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb
index 35e4eb19a4..5b6f885122 100644
--- a/activerecord/lib/active_record/associations.rb
+++ b/activerecord/lib/active_record/associations.rb
@@ -1231,7 +1231,7 @@ module ActiveRecord
# its owner is destroyed:
#
# * <tt>:destroy</tt> causes the associated object to also be destroyed
- # * <tt>:delete</tt> causes the asssociated object to be deleted directly from the database (so callbacks will not execute)
+ # * <tt>:delete</tt> causes the associated object to be deleted directly from the database (so callbacks will not execute)
# * <tt>:nullify</tt> causes the foreign key to be set to +NULL+. Callbacks are not executed.
# * <tt>:restrict_with_exception</tt> causes an exception to be raised if there is an associated record
# * <tt>:restrict_with_error</tt> causes an error to be added to the owner if there is an associated object