Returns the master database, or if none has been set it will raise an error.
Get the master database.
config.master
Returns:
The master database.
Raises:
If the database was not set.
20 21 22
# File 'lib/mongoid/config.rb', line 20 def master @master end