# File lib/mongoid/errors/mongoid_error.rb, line 21 def translate(key, options) ::I18n.translate("#{BASE_KEY}.#{key}", options) end