Clear the #pk_hash and object dataset cache, and recache the #pk_hash
# File lib/sequel/plugins/update_primary_key.rb, line 35 def after_update super @pk_hash = nil pk_hash end
Cache the #pk_hash instead of generating it every time
# File lib/sequel/plugins/update_primary_key.rb, line 42 def pk_hash @pk_hash ||= super end