lib/octopus/migration.rb in ar-octopus-0.5.0 vs lib/octopus/migration.rb in ar-octopus-0.6.0
- old
+ new
@@ -1,12 +1,7 @@
require "set"
require "active_support/core_ext/module/aliasing"
-
-if Octopus.rails2?
- require "active_support/core_ext/array/wrapper"
-else
- require "active_support/core_ext/array/wrap"
-end
+require "active_support/core_ext/array/wrap"
module Octopus::Migration
module InstanceOrClassMethods
def announce_with_octopus(message)
announce_without_octopus("#{message} - #{get_current_shard}")