lib/queries/source/filter.rb
TODO found Open
Open
.where('project_sources.project_id != ? OR project_sources.id IS NULL', project_id) # TODO: probably project_id
- Exclude checks
TODO found Open
Open
# TODO: move to generalized code in Identifiers concern
- Exclude checks
TODO found Open
Open
# !! TODO - conflicts with citations? !! - yes, this is *used in citations*
- Exclude checks
TODO found Open
Open
@citations = boolean_param(params,:citations) # TODO: rename coming to reflect conflict with Citations concern
- Exclude checks
TODO found Open
Open
# TODO: move to a concern
- Exclude checks
TODO found Open
Open
# TODO: move tc citations concern
- Exclude checks
TODO found Open
Open
@query_string = params[:query_term]&.delete("\u0000") # TODO: likely remove with current permit() paradigm
- Exclude checks
TODO found Open
Open
# TODO: move to a concern
- Exclude checks
TODO found Open
Open
# TODO: Change to source_id
- Exclude checks
unexpected token tRCURLY
(Using Ruby 2.4 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
b = ::Source.joins(:project_sources).where(project_sources: {project_id: }).where.missing(:documentation).distinct
- Read upRead up
- Exclude checks
This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.
unexpected token tRCURLY
(Using Ruby 2.4 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
.where(citations: {citation_object_type:}).distinct
- Read upRead up
- Exclude checks
This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.
unexpected token tRCURLY
(Using Ruby 2.4 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
::Source.joins(:citation_topics).where(citation_topics: { topic_id:}).distinct
- Read upRead up
- Exclude checks
This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.
unexpected token tRCURLY
(Using Ruby 2.4 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
::Source.joins(:documents, :project_sources).where(project_sources: {project_id:}).distinct
- Read upRead up
- Exclude checks
This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.
unexpected token tRCURLY
(Using Ruby 2.4 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
.where(project_sources: {project_id:})
- Read upRead up
- Exclude checks
This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.