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
jonkerz=User.find60Activity.execute_script_activityjonkerz,"Delete orphaned reference author names, see %github706"# For PaperTrailantcat_bot=User.find62PaperTrail.whodunnit=antcat_bot.id# For the activity feedUser.current=antcat_botclassReferenceAuthorNameObserverdefbefore_destroy_# Suppress `reference_author_name.reference.invalidate_caches`endendReferenceAuthorName.where.not(reference_id: Reference.select(:id)).each(&:destroy)
The text was updated successfully, but these errors were encountered:
Only old cases. There should be no new cases after 68739cd
These:
ReferenceAuthorName.where.not(reference_id: Reference.select(:id)).count
# ~250The text was updated successfully, but these errors were encountered: