Skip to content

Instantly share code, notes, and snippets.

@mark-cooper
Created May 30, 2025 17:49
Show Gist options
  • Save mark-cooper/c3b5046213ccb0f7d75a8b32d02f75ea to your computer and use it in GitHub Desktop.
Save mark-cooper/c3b5046213ccb0f7d75a8b32d02f75ea to your computer and use it in GitHub Desktop.

Revisions

  1. mark-cooper created this gist May 30, 2025.
    13 changes: 13 additions & 0 deletions ark_reindex.diff
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    diff --git a/backend/app/model/ark_name.rb b/backend/app/model/ark_name.rb
    index 8e0af1291..d01964581 100644
    --- a/backend/app/model/ark_name.rb
    +++ b/backend/app/model/ark_name.rb
    @@ -105,6 +105,8 @@ class ArkName < Sequel::Model(:ark_name)

    check_unique(db, obj)

    + obj.class.update_mtime_for_ids([obj.id])
    +
    true
    end