Sha256: 269debef20b5cb03aed842eb0bb9b2016b38fa4daeae2772258919f168e33436
Contents?: true
Size: 200 Bytes
Versions: 19
Compression:
Stored size: 200 Bytes
Contents
# encoding: utf-8 module MongoidHelper def commit_database(fsync=true) if defined?(Mongoid) Mongoid.database.command({:getlasterror => 1,:fsync=>true}) end end end
Version data entries
19 entries across 19 versions & 1 rubygems