Skip to content

Conversation

fancyremarker
Copy link
Contributor

When invoking annotation via rake annotate_models, it is not necessarily the case that models will have been auto-required by Rails (perhaps this is a new behavior in Rails 4?), so skipping the require means that nothing gets annotated.

ctran added a commit that referenced this pull request Jan 27, 2014
Always load models, since they may not be autoloaded by Rails
@ctran ctran merged commit 2eb9714 into ctran:develop Jan 27, 2014
@ctran ctran added this to the 2.6.2 milestone Feb 26, 2014
@ctran ctran added the bug label Feb 26, 2014
@ctran ctran self-assigned this Feb 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3 participants