speartail / RailRoad

Ruby on Rails diagrams generator - this repository contains the patches that allows it to be used with rails 2.3
http://wiki.github.com/peterhoeg/RailRoad
Other
75 stars 177 forks source link

Problem with Railroad #1

Closed Merovex closed 13 years ago

Merovex commented 14 years ago

railroad -i -l -a -m -M | dot -Tsvg | sed 's/font-size:14.00/font-size:11.00/g' > doc/models.svg /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/whiny_nil.rb:52:in method_missing': undefined methodklass' for nil:NilClass (NoMethodError) from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/reflection.rb:257:in source_reflection' from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/reflection.rb:257:incollect' from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/reflection.rb:257:in source_reflection' from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/reflection.rb:316:inderive_class_name' from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/reflection.rb:112:in class_name' from /usr/lib/ruby/gems/1.8/gems/shift-railroad-0.5.8/lib/models_diagram.rb:134:inprocess_association' from /usr/lib/ruby/gems/1.8/gems/shift-railroad-0.5.8/lib/models_diagram.rb:102:in process_class' from /usr/lib/ruby/gems/1.8/gems/shift-railroad-0.5.8/lib/models_diagram.rb:101:ineach' from /usr/lib/ruby/gems/1.8/gems/shift-railroad-0.5.8/lib/models_diagram.rb:101:in process_class' from /usr/lib/ruby/gems/1.8/gems/shift-railroad-0.5.8/lib/models_diagram.rb:27:ingenerate' from /usr/lib/ruby/gems/1.8/gems/shift-railroad-0.5.8/lib/models_diagram.rb:26:in each' from /usr/lib/ruby/gems/1.8/gems/shift-railroad-0.5.8/lib/models_diagram.rb:26:ingenerate' from /usr/lib/ruby/gems/1.8/gems/shift-railroad-0.5.8/bin/railroad:55 from /usr/bin/railroad:19:in `load' from /usr/bin/railroad:19

AlekSi commented 14 years ago

http://rubyforge.org/tracker/index.php?func=detail&aid=24341&group_id=3383&atid=12998