Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Protects Against Wild-Goose Chases #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kendagriff
Copy link
Contributor

Recently I added a an inherited model (class Teacher < User), and because LetMeIn couldn't find Teacher in its list of models, Ruby threw an "implicit conversion" error deep down low in the stack.

It took me quite a while to even discover that the error was related to LetMeIn. This update throws an error upon model creation if the model is not found in the initializer list.

(Test included.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant