Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

6 lines (5 sloc) 0.172 kb
require 'after_commit'
# enable TestBypass by default in RAILS_ENV == 'test'
ActiveRecord::Base.class_eval do
include AfterCommit::TestBypass if RAILS_ENV == 'test'
end
Jump to Line
Something went wrong with that request. Please try again.