TODO found Open
# TODO: deprecate all of these for where()
- Exclude checks
TODO found Open
# TODO: move to protonym spec?
- Exclude checks
TODO found Open
# ?? TODO: Replace with `taxonomy` object .to_h?
- Exclude checks
TODO found Open
# TODO: on third thought- eliminate this mess
- Exclude checks
TODO found Open
# TODO: move some of these down to Protonym when they don't apply to Combination
- Exclude checks
TODO found Open
# TODO: revisit?
- Exclude checks
TODO found Open
# TODO: build author year from cached author and year, not the other way around
- Exclude checks
TODO found Open
# TODO: in refactor these are often just helper methods ,
- Exclude checks
TODO found Open
# TODO: this should be paginated, not all IDs!
- Exclude checks
TODO found Open
rescue # TODO: Qualify this!!
- Exclude checks
TODO found Open
# TODO: think of a different name, and test
- Exclude checks
TODO found Open
# TODO: remove, this is only used for a strange call in sv_checked cached.
- Exclude checks
TODO found Open
# TODO: Combinations shouldn't have classifications or relationships? Move to Protonym?
- Exclude checks
TODO found Open
# TODO: belongs in lib/queries/filter.rb likely
- Exclude checks
TODO found Open
# TODO: should be moved to helpers
- Exclude checks
TODO found Open
# TODO: this was not implemented and tested properly
- Exclude checks
TODO found Open
# TODO: this needs to go.
- Exclude checks
TODO found Open
a[0] = a[0][1..-2] ## remove parentheses in the author string # TODO: draw from cached_author
- Exclude checks
TODO found Open
# !! TODO: when name is a subgenus will not grab genus
- Exclude checks
TODO found Open
# !! TODO: Higher classification does not follow the same pattern
- Exclude checks
TODO found Open
# TODO: does this form of the name contain parens for subgenus?
- Exclude checks
TODO found Open
# TODO: remove, this is handled natively
- Exclude checks
TODO found Open
# TODO: move to combination spec?
- Exclude checks
TODO found Open
# TODO: what is this:!? :)
- Exclude checks
TODO found Open
# TODO: Isolate and optimize. These an be isolated as they are not always pertinent to a generalized cascading cache setting
- Exclude checks
TODO found Open
.reload # TODO Why needed? Should not be
- Exclude checks
TODO found Open
# !! TODO: create a persisted only version of this for speed
- Exclude checks
TODO found Open
# TODO: This method can be placed elsewhere inside this class (or even removed if not used)
- Exclude checks
TODO found Open
# TODO: provide a default to gender (but do NOT eliminate param)
- Exclude checks
TODO found Open
# TODO: this should be paginated, not all IDs!
- Exclude checks
TODO found Open
# TODO: move to Protonym when we eliminate TaxonName.new()
- Exclude checks
TODO found Open
# return [String, nil, false] # TODO: fix
- Exclude checks
TODO found Open
# TODO: move to protonym spec?
- Exclude checks
TODO found Open
# TODO: We need to isolate this into 2 subclasses,
- Exclude checks
TODO found Open
# TODO: This can be made more specific, we don't need to call some of the methods in set_cached
- Exclude checks
TODO found Open
# TODO: remove
- Exclude checks
TODO found Open
# TODO: remove
- Exclude checks
TODO found Open
# TODO: cleanly isolate getters, setters, and cached builders
- Exclude checks
unexpected token tCOMMA
(Using Ruby 2.4 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Otu.create(by: creator, project_id:, taxon_name_id: 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.
unexpected token kEND
(Using Ruby 2.4 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
end
- 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 tRPAREN
(Using Ruby 2.4 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
a = klass.touched_by(user_id).where(project_id:).order(updated_at: :desc).limit(6).to_a
- 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 tRPAREN
(Using Ruby 2.4 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
mri = ObservationMatrixRowItem::TaxonNameRowItem.where(taxon_name_id: id, project_id:).limit(1)
- 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.
else without rescue is useless
(Using Ruby 2.4 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
else
- 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
}
- 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 tRPAREN
(Using Ruby 2.4 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
if !parent_is_set? && TaxonName.where(parent_id: nil, project_id:).count > 0
- 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 tRPAREN
(Using Ruby 2.4 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
if siblings.where(project_id:).any?
- 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.
else without rescue is useless
(Using Ruby 2.4 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
else
- 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 tRPAREN
(Using Ruby 2.4 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
.where(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.
unexpected token tRPAREN
(Using Ruby 2.4 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
scope :with_parent_id, -> (parent_id) {where(parent_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.
unexpected token tRPAREN
(Using Ruby 2.4 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
scope :with_type, -> (type) {where(type:)}
- 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 tRPAREN
(Using Ruby 2.4 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
if siblings.where(project_id:).any?
- 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 kEND
(Using Ruby 2.4 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
end
- 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 kEND
(Using Ruby 2.4 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
end
- 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 tCOMMA
(Using Ruby 2.4 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
TaxonName.where(project_id:, updated_by_id: user_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.
unexpected token tRCURLY
(Using Ruby 2.4 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
.where(taxon_names: {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.
unexpected token tRPAREN
(Using Ruby 2.4 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
scope :with_cached_valid_taxon_name_id, -> (cached_valid_taxon_name_id) {where(cached_valid_taxon_name_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.
unexpected token tRPAREN
(Using Ruby 2.4 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
a = klass.is_species_group.touched_by(user_id).where(project_id:).order(updated_at: :desc).limit(6).to_a
- 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.