Skip to content


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

cdussud opened this Issue · 1 comment

2 participants


So I have an ActiveRecord model called Invoice.

class Invoice < ActiveRecord::Base

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

module MyNamespace
class Invoice

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
@ctran ctran added this to the 2.6.3 milestone

This is now fixed in "develop" branch.

@ctran ctran closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.