Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
6 lines (4 sloc) 210 Bytes
ActiveRecord::Base.send(:include, AfterCommit::ActiveRecord)
Object.subclasses_of(ActiveRecord::ConnectionAdapters::AbstractAdapter).each do |klass|
klass.send(:include, AfterCommit::ConnectionAdapters)
end