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 annotated" in Rails 4.2.0.beta4 #216

Closed
alexch opened this issue Nov 6, 2014 · 3 comments
Closed

"nothing annotated" in Rails 4.2.0.beta4 #216

alexch opened this issue Nov 6, 2014 · 3 comments

Comments

@alexch
Copy link
Collaborator

alexch commented Nov 6, 2014

I tracked it down to a change in ActiveRecord::Base.to_s...

around line 338 we need to change this

ActiveSupport::Inflector.underscore(c)

to this

ActiveSupport::Inflector.underscore(c.name)
@YayC
Copy link
Contributor

YayC commented Nov 12, 2014

Thanks for tracking it down. Any chance you could throw together a pull request? This gem has been super useful.

@alexch
Copy link
Collaborator Author

alexch commented Nov 12, 2014

this seems a lot like #173 ... weird, Bundler decided to use an old version of annotate (2.6.3 instead of 2.6.5). @YayConnolly can you try bundle update annotate (or gem update annotate) and see if that works? It did for me.

Also check

$ annotate -v
annotate v2.6.5

@YayC
Copy link
Contributor

YayC commented Nov 12, 2014

Working great after updating! Should have tried that before posting. Guess this issue should be closed?

@ctran ctran closed this as completed Nov 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants