You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EDIT_SUMMARY="Set fossil flag for non-fossil taxa with fossil protonyms, see %github846"jonkerz=User.find(60)Activity.execute_script_activityjonkerz,EDIT_SUMMARY# For PaperTraildefantcat_bot@antcat_bot ||= User.find(62)endPaperTrail.request.whodunnit=antcat_bot.id# NonFossilTaxaWithFossilProtonymssoon_fossil_taxa=Taxon.extant.joins(:protonym).where(protonyms: {fossil: true}).includes(:protonym)soon_fossil_taxa.eachdo |taxon|
taxon.update!(fossil: true)taxon.create_activity:update,antcat_bot,edit_summary: EDIT_SUMMARYend
Db script: http://antcat.org/database_scripts/non_fossil_taxa_with_fossil_protonyms
The text was updated successfully, but these errors were encountered: