All, I''m trying to do some documentation on the models for our interfaces team. I espcially need them to be able to see the relationships belongs_to and validations. However, I must be stupid with rdoc because I can''t seem to get those two things in the generated documentation. Ideas?
On 16 Jun 2009, at 21:24, Andy wrote:> I''m trying to do some documentation on the models for our interfaces > team. I espcially need them to be able to see the relationships > belongs_to and validations. However, I must be stupid with rdoc > because I can''t seem to get those two things in the generated > documentation.Maybe RailRoad can help you out here: http://railroad.rubyforge.org/ Best regards Peter De Berdt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
RailRoad doesn''t work with 2.3.2 and doesn''t appear to be
actively
maintained.
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/
reflection.rb:316:in `derive_class_name'': You have a nil object when
you didn''t expect it! (NoMethodError)
The error occurred while evaluating nil.class_name from /usr/lib/
ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/reflection.rb:
112:in `class_name''
from /usr/lib/ruby/gems/1.8/gems/railroad-0.5.0/lib/railroad/
models_diagram.rb:134:in `process_association''
from /usr/lib/ruby/gems/1.8/gems/railroad-0.5.0/lib/railroad/
models_diagram.rb:102:in `process_class''
from /usr/lib/ruby/gems/1.8/gems/railroad-0.5.0/lib/railroad/
models_diagram.rb:101:in `each''
from /usr/lib/ruby/gems/1.8/gems/railroad-0.5.0/lib/railroad/
models_diagram.rb:101:in `process_class''
from /usr/lib/ruby/gems/1.8/gems/railroad-0.5.0/lib/railroad/
models_diagram.rb:27:in `generate''
from /usr/lib/ruby/gems/1.8/gems/railroad-0.5.0/lib/railroad/
models_diagram.rb:26:in `each''
from /usr/lib/ruby/gems/1.8/gems/railroad-0.5.0/lib/railroad/
models_diagram.rb:26:in `generate''
from /usr/lib/ruby/gems/1.8/gems/railroad-0.5.0/bin/railroad:
47
from /usr/bin/railroad:19:in `load''
from /usr/bin/railroad:19
On Jun 17, 7:54 am, Peter De Berdt
<peter.de.be...-LPO8gxj9N8aZIoH1IeqzKA@public.gmane.org>
wrote:> On 16 Jun 2009, at 21:24, Andy wrote:
>
> > I''m trying to do some documentation on the models for our
interfaces
> > team. I espcially need them to be able to see the relationships
> > belongs_to and validations. However, I must be stupid with rdoc
> > because I can''t seem to get those two things in the generated
> > documentation.
>
> Maybe RailRoad can help you out here:http://railroad.rubyforge.org/
>
> Best regards
>
> Peter De Berdt