Skip to content

Always load models, since they may not be autoloaded by Rails #161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 27, 2014

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants