app/models/hierarchy_entry.rb
# This gives you the correct array of source agents that recognize the taxon.
# Keep in mind that if there is a source database, you MUST cite the hierarchy
# agent SEPARATELY, so it is not included; otherwise, it is:
This gives you the correct array of source agents that recognize the taxon.
Keep in mind that if there is a source database, you MUST cite the hierarchy
agent SEPARATELY, so it is not included; otherwise, it is.
This gives you the correct array of source agents that recognize the taxon . Keep in mind that if there is a source database you MUST cite the hierarchy agent SEPARATELY so it is not included ; otherwise it is .
def recognized_by_agents
    if has_source_database?
      (source_database_agents + source_agents).compact
    else
      ([hierarchy.agent] + source_agents).compact
    end
  end
def recognized_by_agents if has_source_database? ( source_database_agents + source_agents ) . compact else ( [ hierarchy . agent ] + source_agents ) . compact end end
This gives you the correct array of source agents that recognize the taxon.
This gives you the correct array of source agents that recognize the taxon .