Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Annotates plain ruby objects if they have the same class name as an ActiveRecord object #121
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.
The plain Ruby object gets annotated (with the annotation for the active record class).