Sha256: 6faeef075ff1e471a3ddbd623f1e89fc68575ca3b2b1d0ad46fbb33d52ef317f

Contents?: true

Size: 141 Bytes

Versions: 1

Compression:

Stored size: 141 Bytes

Contents

module ErrorHelpers
  def ignore_errors
    yield
  rescue StandardError => e
    Mongoid.logger.debug "ignored error #{e}"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongoid-history-0.8.5 spec/support/error_helpers.rb