Sha256: e3bee548514f605f3064160270d8554445ce92d7c1e7ba5b38d27266530e9694
Contents?: true
Size: 201 Bytes
Versions: 2
Compression:
Stored size: 201 Bytes
Contents
class AnotherModel < ActiveRecord::Base include AfterCommitAction belongs_to :tester after_save :increment_tester_counter def increment_tester_counter tester.increment_counter end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
after_commit_action-1.1.0 | spec/models/another_model.rb |
after_commit_action-1.0.1 | spec/models/another_model.rb |