Closed
Description
With some gems like Spree we use lots of "decorators" files under app/models
, which are not ruby classes but simple Model.class_eval do ...
files.
Annotate gives lots of verbose warning like:
Unable to annotate app/models/spree/order_decorator.rb: cannot load a model from app/models/spree/order_decorator.rb
Unable to annotate app/models/spree/page_decorator.rb: cannot load a model from app/models/spree/page_decorator.rb
Unable to annotate app/models/spree/payment_method_decorator.rb: cannot load a model from app/models/spree/payment_method_decorator.rb
Unable to annotate app/models/spree/product_decorator.rb: cannot load a model from app/models/spree/product_decorator.rb
Unable to annotate app/models/spree/products_container_decorator.rb: cannot load a model from app/models/spree/products_container_decorator.rb
Unable to annotate app/models/spree/taxon_decorator.rb: cannot load a model from app/models/spree/taxon_decorator.rb
Unable to annotate app/models/spree/variant_decorator.rb: cannot load a model from app/models/spree/variant_decorator.rb
That's pretty spammy...