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 to annotate" in rails 4.2 #173
Comments
The latest version is actually 2.6.2. You may wan to try that. |
I have both tried the latest gem |
@ekampp |
Indeed I do, @seuros, thanks. |
Facing the same issues with v2.6.3 & edge rails (4.2.0.alpha) |
Sorry, 2.6.3 just has a small fix. |
Same issue here using 2.6.3 and Rails 4.1.1 |
I found the offending line: |
Fixes ctran#173, by ensuring that the model is coerced to a string before it's run through `ActiveSupport::Inflector.underscore`, which then correctly compares to the filename (which is a string already).
I'm seeing this issue in Rails 4.2.0 (Ruby 2.2.0) still. I've tried multiple versions (v2.6.6 and v2.6.7). Could this still be an issue? |
@dlynam are you sure it's the exact same issue? I haven't used this gem for a while, so I don't know if this is still an issue. Can you track down, where your exact problem arises from? |
Running |
Disclaimer: I'm aware that 4.2 is in alpha at the moment.
After upgrading to rails 4.2.0.alpha, annotation always yields
Nothing annotated.
Running it with the
bundle exec annotate --trace
parameter yields the following:As you can see, the warnings are unrelated to Annotate, and yields nothing of interest indicating why the annotation didn't find any models to annotate, even though there's several models in the project.
The text was updated successfully, but these errors were encountered: