Skip to content

"Nothing to annotate" in rails 4.2 #173

Closed
@ekampp

Description

@ekampp

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:

State :complete for :levelup_state is already defined in :state
/Users/emil/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/closure_tree-4.4.0/lib/closure_tree/support.rb:29: warning: already initialized constant FeatHierarchy
/Users/emil/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/closure_tree-4.4.0/lib/closure_tree/support.rb:29: warning: previous definition of FeatHierarchy was here
Nothing annotated.

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.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions