Registry / database / ar-after-transaction

ar-after-transaction

JSON →
library1.1.0rbrubygemsunverified

Executes irreversible actions only when ActiveRecord transactions are not rolled back.

gem install ar_after_transaction
INSTALL
IMPORT
SIG · AR-AFTER-TRANSACTI
A
ar-after-transaction
databaserubyv1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ArAfterTransaction
require 'ar_after_transaction'

Run code after a successful transaction

require 'ar_after_transaction' ActiveRecord::Base.transaction do user.save! ar_after_transaction { send_email(user) } end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
22
OpenAI (training)
2
Resources
ar-after-transaction — gem install ar-after-transaction · libregistry