Sha256: d89812428792fe20e0c21bb5c822257b24ed18bd385ed29a47c47315f3ddfcc7

Contents?: true

Size: 270 Bytes

Versions: 24

Compression:

Stored size: 270 Bytes

Contents

require 'mongoid'

Mongoid.configure do |config|
  config.master = Mongo::Connection.new('127.0.0.1', 27017).db("lolita3-test")
end

# truncate data
Mongoid.database.collections.each do |collection|
  unless collection.name =~ /^system\./
    collection.remove
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
lolita-3.2.0.rc.7 spec/orm/mongoid.rb
lolita-3.1.18 spec/orm/mongoid.rb
lolita-3.2.0.rc.6 spec/orm/mongoid.rb
lolita-3.2.0.rc.5 spec/orm/mongoid.rb
lolita-3.2.0.rc.4 spec/orm/mongoid.rb
lolita-3.2.0.rc.3 spec/orm/mongoid.rb
lolita-3.2.0.rc2 spec/orm/mongoid.rb
lolita-3.2.0.rc1 spec/orm/mongoid.rb
lolita-3.1.17 spec/orm/mongoid.rb
lolita-3.1.16 spec/orm/mongoid.rb
lolita-3.1.15 spec/orm/mongoid.rb
lolita-3.1.14 spec/orm/mongoid.rb
lolita-3.1.13 spec/orm/mongoid.rb
lolita-3.1.12 spec/orm/mongoid.rb
lolita-3.1.11 spec/orm/mongoid.rb
lolita-3.1.9 spec/orm/mongoid.rb
lolita-3.1.8 spec/orm/mongoid.rb
lolita-3.1.7 spec/orm/mongoid.rb
lolita-3.1.6 spec/orm/mongoid.rb
lolita-3.1.5 spec/orm/mongoid.rb