Sha256: 64620787d4d60a7f1178fd5cab19f07dbc37b0ab0c03c5b07718d017bd7081b3
Contents?: true
Size: 376 Bytes
Versions: 1
Compression:
Stored size: 376 Bytes
Contents
module Dagnabit module Link module TransitiveClosureRecalculation module OnUpdate def after_update old_values = dag_link_column_names.map { |n| connection.quote(changes[n].try(:first) || send(n)) } update_transitive_closure_for_destroy(*old_values) update_transitive_closure_for_create end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dagnabit-2.2.1 | lib/dagnabit/link/transitive_closure_recalculation/on_update.rb |