app/models/taxon.rb
def update_listed_taxa
    return true if ancestry.blank?
    return true if ancestry_callbacks_disabled?
    return true unless ancestry_changed?
    Taxon.delay(:priority => INTEGRITY_PRIORITY, :queue => "slow").update_listed_taxa_for(id, ancestry_was)
    true
  end
# Updated the "cached" ancestor values in all listed taxa with this taxon
Updated the "cached" ancestor values in all listed taxa with this taxon
Updated the " cached " ancestor values in all listed taxa with this taxon
def update_listed_taxa
    return true if ancestry.blank?
    return true if ancestry_callbacks_disabled?
    return true unless ancestry_changed?
    Taxon.delay(:priority => INTEGRITY_PRIORITY, :queue => "slow").update_listed_taxa_for(id, ancestry_was)
    true
  end
def update_listed_taxa return true if ancestry . blank? return true if ancestry_callbacks_disabled? return true unless ancestry_changed? Taxon . delay ( :priority => INTEGRITY_PRIORITY , :queue => "slow" ) . update_listed_taxa_for ( id , ancestry_was ) true end
Updated the "cached" ancestor values in all listed taxa with this taxon
Updated the " cached " ancestor values in all listed taxa with this taxon