lib/lockbox/migrator.rb in lockbox-0.3.7 vs lib/lockbox/migrator.rb in lockbox-0.4.0
- old
+ new
@@ -38,12 +38,9 @@
relation = @relation
# unscope if passed a model
unless ar_relation?(relation) || mongoid_relation?(relation)
relation = relation.unscoped
- else
- # TODO remove in 0.4.0
- relation = relation.unscoped
end
# convert from possible class to ActiveRecord::Relation or Mongoid::Criteria
relation = relation.all