Warning: exception undefined method `macro' for #<Mongoid::Association::Referenced::BelongsTo:0x00005619db152cc8> raised while trying to load model class
which was caused by assoc.macro.to_s.
this has been replaced by assoc.methods.to_s
this way i get a properly generated erd
Applied rubocop rules (mostly).
Fixes:
which was caused by
assoc.macro.to_s
. this has been replaced byassoc.methods.to_s
this way i get a properly generated erd