Categories: None [Edit]

nostalgia

https://rubygems.org/gems/nostalgia
https://github.com/AcademicWorks/nostalgia
Often I want to evaluate what changed on an object after it has saved and has been transactionally committed. One use case is enqueuenig a background job when a specific attribute changed. Typically you should wait until after_commit to enqueue the job. This ensures that your workers will have access to the updates that were being made inside the transaction. This is a problem because ActiveRecord forgets the changes after_save. This gem keeps those changes around for later inspection and evaluation.

Total

Ranking: 141,697 of 186,959
Downloads: 3,951

Daily

Ranking: 131,144 of 186,713
Downloads: 2

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,905,736,219bundler
101,128,098,871rake

Owners

#GravatarHandle
1iconacademicworks