You have a collection of objects in you MongoDB like this here:
class Student
include MongoMapper::Document
key :name, String, :required => true
key :firstname, String, :required => true
key :course, String
end
To clean up your database you can either do this:
Student.all.each { |s| s.destroy }
or, and this is possibly a lot faster:
Student.collection.remove