Skip to content
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

Nothing is annotated unless options[:model_dir] is specified #234

Merged
merged 1 commit into from Mar 10, 2015

Conversation

gbataille
Copy link
Contributor

when using annotate from the command line with rails 4.2.0 and ruby 2.1.3, nothing was happening.
When using annotate with the --model-dir param, it did.

Looks like the defaulting of the model-dir to 'app/models' failed because of the test on whether its nil/empty

ctran added a commit that referenced this pull request Mar 10, 2015
options[:model_dir] seems to be an array now
@ctran ctran merged commit 722b3fe into ctran:develop Mar 10, 2015
@ctran ctran added the bug label Mar 10, 2015
@ctran ctran self-assigned this Mar 10, 2015
@ctran ctran added this to the 2.6.7 milestone Mar 10, 2015
@ctran ctran changed the title options[:model_dir] seems to be an array now Nothing is annotated unless options[:model_dir] is specified Mar 10, 2015
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.

None yet

2 participants