lib/saasable/mongoid/scoped_document.rb in saasable-5.1.0 vs lib/saasable/mongoid/scoped_document.rb in saasable-6.0.0
- old
+ new
@@ -19,10 +19,11 @@
# Indexes
index(saas_id: 1)
index({saas_id: 1, _id: 1}, unique: true)
class << self
- alias_method_chain :index, :saasable
+ alias_method :index_without_saasable, :index
+ alias_method :index, :index_with_saasable
end
end
end
def saas=(a_saas)