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

Annotates plain ruby objects if they have the same class name as an ActiveRecord object #121

Closed
cdussud opened this issue Apr 9, 2013 · 1 comment
Labels
Milestone

Comments

@cdussud
Copy link

cdussud commented Apr 9, 2013

So I have an ActiveRecord model called Invoice.

class Invoice < ActiveRecord::Base
end

and I have a plain old Ruby class also called Invoice, but scoped within a module.

module MyNamespace
class Invoice
end
end

The plain Ruby object gets annotated (with the annotation for the active record class).
Expected: no annotation on the non-db-backed class.
Note that the active record class is correctly annotated.

@ctran ctran added the bug label Feb 26, 2014
@ctran ctran added this to the 2.6.3 milestone Feb 26, 2014
@ctran
Copy link
Owner

ctran commented Feb 26, 2014

This is now fixed in "develop" branch.

@ctran ctran closed this as completed 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

No branches or pull requests

2 participants