Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
18ba092a
Commit
18ba092a
authored
May 03, 2018
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo for comments in fast_destroy_all
parent
45dc7ae2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/models/concerns/fast_destroy_all.rb
app/models/concerns/fast_destroy_all.rb
+1
-1
No files found.
app/models/concerns/fast_destroy_all.rb
View file @
18ba092a
...
@@ -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, depen
e
dent: :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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment