Skip to content

Commit b9f1d40

Browse files
Merge pull request rails#45555 from bbenno/main
Fix rdoc for ActiveRecord::Associations::ClassMethods [ci-skip]
2 parents b495b4e + d4d3cca commit b9f1d40

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

activerecord/lib/active_record/associations.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -628,15 +628,15 @@ def association_instance_set(name, association)
628628
#
629629
# Note: To trigger remove callbacks, you must use +destroy+ / +destroy_all+ methods. For example:
630630
#
631-
# * <tt>firm.clients.destroy(client)</tt>
632-
# * <tt>firm.clients.destroy(*clients)</tt>
633-
# * <tt>firm.clients.destroy_all</tt>
631+
# * <tt>firm.clients.destroy(client)</tt>
632+
# * <tt>firm.clients.destroy(*clients)</tt>
633+
# * <tt>firm.clients.destroy_all</tt>
634634
#
635635
# +delete+ / +delete_all+ methods like the following do *not* trigger remove callbacks:
636636
#
637-
# * <tt>firm.clients.delete(client)</tt>
638-
# * <tt>firm.clients.delete(*clients)</tt>
639-
# * <tt>firm.clients.delete_all</tt>
637+
# * <tt>firm.clients.delete(client)</tt>
638+
# * <tt>firm.clients.delete(*clients)</tt>
639+
# * <tt>firm.clients.delete_all</tt>
640640
#
641641
# == Association extensions
642642
#

0 commit comments

Comments
 (0)