My first problem at work today was related to name spaces. Something that worked yesterday before I ran automated API tests wasn’t working: I have a Candidate/CandidateAddress relationship where one Candidate may have multiple addresses. For some reason, even though everything is namespaced, I was getting “Class CandidateAddress not found”.
This is a really helpful tip, but a misleadingly expansive title: https://coderwall.com/p/nhwq8w
…and didn’t do the magic
Whereas the answer to this: http://stackoverflow.com/questions/19731097/class-comment-not-found-laravel-4/19732415#19732415
…actually solved my problem.
It’s not as neat as I’d like, but it works.
(apologies tot he non-techies who will see this through FB – when I”m not at work I will fix IFTTT to not post notes-to-self)