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
01797a6e
Commit
01797a6e
authored
Sep 14, 2021
by
Alper Akgun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused scope inc_author
parent
d5e2568b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
app/models/note.rb
app/models/note.rb
+0
-1
No files found.
app/models/note.rb
View file @
01797a6e
...
@@ -115,7 +115,6 @@ class Note < ApplicationRecord
...
@@ -115,7 +115,6 @@ class Note < ApplicationRecord
scope
:updated_after
,
->
(
time
)
{
where
(
'updated_at > ?'
,
time
)
}
scope
:updated_after
,
->
(
time
)
{
where
(
'updated_at > ?'
,
time
)
}
scope
:with_updated_at
,
->
(
time
)
{
where
(
updated_at:
time
)
}
scope
:with_updated_at
,
->
(
time
)
{
where
(
updated_at:
time
)
}
scope
:with_suggestions
,
->
{
joins
(
:suggestions
)
}
scope
:with_suggestions
,
->
{
joins
(
:suggestions
)
}
scope
:inc_author_project
,
->
{
includes
(
:project
,
:author
)
}
scope
:inc_author
,
->
{
includes
(
:author
)
}
scope
:inc_author
,
->
{
includes
(
:author
)
}
scope
:with_api_entity_associations
,
->
{
preload
(
:note_diff_file
,
:author
)
}
scope
:with_api_entity_associations
,
->
{
preload
(
:note_diff_file
,
:author
)
}
scope
:inc_relations_for_view
,
->
do
scope
:inc_relations_for_view
,
->
do
...
...
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