diff options
author | Neeraj Singh <neerajdotname@gmail.com> | 2013-03-11 16:41:29 -0400 |
---|---|---|
committer | Neeraj Singh <neerajdotname@gmail.com> | 2013-03-11 16:41:29 -0400 |
commit | 402a89903396ea97a0a1fc0e6c67c5dfb047d05b (patch) | |
tree | 810e8b63428cbda258fbb8a6d3e3abbcfeb96257 | |
parent | d5c7257e75ba0d0fdd356fdb12e4be18e4701a30 (diff) | |
download | rails-402a89903396ea97a0a1fc0e6c67c5dfb047d05b.tar.gz rails-402a89903396ea97a0a1fc0e6c67c5dfb047d05b.tar.bz2 rails-402a89903396ea97a0a1fc0e6c67c5dfb047d05b.zip |
Minor copy editing
-rw-r--r-- | activerecord/lib/active_record/associations.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index 5b6f885122..5613c54f0b 100644 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -1114,11 +1114,11 @@ module ActiveRecord # similar callbacks may affect the :dependent behavior, and the # :dependent behavior may affect other callbacks. # - # * <tt>:destroy</tt> causes all the associated objects to also be destroyed - # * <tt>:delete_all</tt> causes all the associated objects to be deleted directly from the database (so callbacks will not execute) + # * <tt>:destroy</tt> causes all the associated objects to also be destroyed. + # * <tt>:delete_all</tt> causes all the associated objects to be deleted directly from the database (so callbacks will not be executed). # * <tt>:nullify</tt> causes the foreign keys to be set to +NULL+. Callbacks are not executed. - # * <tt>:restrict_with_exception</tt> causes an exception to be raised if there are any associated records - # * <tt>:restrict_with_error</tt> causes an error to be added to the owner if there are any associated objects + # * <tt>:restrict_with_exception</tt> causes an exception to be raised if there are any associated records. + # * <tt>:restrict_with_error</tt> causes an error to be added to the owner if there are any associated objects. # # If using with the <tt>:through</tt> option, the association on the join model must be # a +belongs_to+, and the records which get deleted are the join records, rather than |