preston / railroady

Ruby on Rails 3/4/5 model and controller UML class diagram generator. (`brew/port/apt-get install graphviz` before use!)
Other
1.72k stars 142 forks source link

Bug in process associations - 'assoc.macro' renamed to 'assoc.methods' #135

Open kornysietsma opened 1 year ago

kornysietsma commented 1 year ago

There seems to have been a bug introduced in this commit where assoc.macro.to_s was changed to assoc.methods.to_s in models_diagram.rb:

https://github.com/preston/railroady/blob/f348ba5a1694116032a97dc150d1b354282f597d/lib/railroady/models_diagram.rb#LL272C31-L272C31

This will break the processing of model associations.