Exception: Cms::Settings::InvalidModuleName

Inherits:
StandardError
  • Object
show all
Defined in:
lib/bcms_settings/cms/settings.rb

Overview

Raised when a module name is not a valid BrowserCMS module name. All module names must be lowercase, start with the bcms_ prefix and must not contain whitespace or special characters. (Must be valid Ruby method identifiers).

Although the CmsModule model class validates module names, the Settings module checks all names before passing them to the CmsModule and raises this exception right away.