lib/reactor.rb in reactor-0.12.2 vs lib/reactor.rb in reactor-0.13.0
- old
+ new
@@ -45,12 +45,7 @@
ensure
disable_test_mode_subscriber klass
end
end
-# Temporarily avoid Rails 4.2.0 deprecation warning
-if ActiveRecord::VERSION::STRING > '4.2'
- ActiveRecord::Base.raise_in_transactional_callbacks = true
-end
-
ActiveRecord::Base.send(:include, Reactor::Publishable)
ActiveRecord::Base.send(:include, Reactor::Subscribable)