app/models/taxon_user_classification_filter.rb
# TODO - review. Passing around this hash seems complicated and tightly-coupled.
# ...smells to me like this could (and should) simply be two separate methods.
review. Passing around this hash seems complicated and tightly-coupled.
smells to me like this could (and should) simply be two separate methods.
review . Passing around this hash seems complicated and tightly - coupled . smells to me like this could ( and should ) simply be two separate methods .
def related_names
    @related_names ||=
      {'parents' => build_related_names_hash(get_related_names(:parents)),
       'children' => build_related_names_hash(get_related_names(:children))}
  end
def related_names @related_names ||= { 'parents' => build_related_names_hash ( get_related_names ( :parents ) ) , 'children' => build_related_names_hash ( get_related_names ( :children ) ) } end
TODO - review.
TODO - review .