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