lib/active_replicas.rb in active_replicas-0.3.2 vs lib/active_replicas.rb in active_replicas-0.4.0
- old
+ new
@@ -5,9 +5,10 @@
if defined? ActiveRecord
version = ActiveRecord::VERSION::MAJOR
if version == 4
+ require 'active_replicas/rails4/helpers'
require 'active_replicas/rails4/connection_handler'
else
raise "Unsupported ActiveRecord version: #{version}"
end
end