Sha256: 77055362b607904cfcdb37c419996d488d78d49adfae571df962b5e298b26597
Contents?: true
Size: 369 Bytes
Versions: 7
Compression:
Stored size: 369 Bytes
Contents
module SlayerRails module Extensions module Transaction extend ActiveSupport::Concern included do def transaction(&block) ActiveRecord::Base.transaction(&block) if block_given? end def self.transaction(&block) ActiveRecord::Base.transaction(&block) if block_given? end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems