Please sign in to comment.
Let Ruby raise an error if the models are not defined.
This way, the lazy-loaded classes will be loaded automatically if they're not already loaded. Otherwise, defined? returned false when the class wasn't already loaded, even though the class file existed.
- Loading branch information...