Commit 18ba092a authored by Shinya Maeda's avatar Shinya Maeda

Fix typo for comments in fast_destroy_all

parent 45dc7ae2
...@@ -73,7 +73,7 @@ module FastDestroyAll ...@@ -73,7 +73,7 @@ module FastDestroyAll
# This is a helper method for performaning fast_destroy_all when parent relations are deleted # This is a helper method for performaning fast_destroy_all when parent relations are deleted
# Their children must include `FastDestroyAll` module. # Their children must include `FastDestroyAll` module.
# #
# `use_fast_destroy` must be defined **before** `has_many` and `has_one`, such as `has_many :relation, depenedent: :destroy` # `use_fast_destroy` must be defined **before** `has_many` and `has_one`, such as `has_many :relation, dependent: :destroy`
# Otherwise `use_fast_destroy` performs against **deleted** rows, which fails to get identifiers of external data # Otherwise `use_fast_destroy` performs against **deleted** rows, which fails to get identifiers of external data
# #
# e.g. use_fast_destroy :build_trace_chunks # e.g. use_fast_destroy :build_trace_chunks
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment