Exception: WithModel::MissingSuperclass

Inherits:
InvalidSuperclass show all
Defined in:
lib/with_model/missing_superclass.rb

Overview

Raised when the name given for a superclass: resolves to nothing at all.

A kind of InvalidSuperclass, so every superclass that cannot be used is catchable in one place, while a name that is simply not there - a typo, or a with_model superclass declared after the models inheriting it - can be told apart from a class that exists but cannot supply a table.