lib/parallel_minion/minion.rb in parallel_minion-0.1.0 vs lib/parallel_minion/minion.rb in parallel_minion-0.2.0
- old
+ new
@@ -220,11 +220,10 @@
end
# Returns the current scopes for each of the models for which scopes will be
# copied to the Minions
def self.current_scopes
- # Apparently #scoped is deprecated, but its replacement #all does not behave the same
- @@scoped_classes.collect {|klass| klass.scoped.dup}
+ @@scoped_classes.collect {|klass| klass.all.dup}
end
protected
@@enabled = true
\ No newline at end of file