hi everybody.
when viewing the rails documentation (⌃H) for the "render" command, i get a screen telling me, there's multiple commands which contain "render". when i click on "ActionController::Base#render", i get this error:
/usr/lib/ruby/1.8/rdoc/ri/ri_formatter.rb:167:in `display_flow_item': undefined method `join' for "Rendering an action":String (NoMethodError)
with this trace:
from /usr/lib/ruby/1.8/rdoc/ri/ri_formatter.rb:211:in `display_flow' from /usr/lib/ruby/1.8/rdoc/ri/ri_formatter.rb:210:in `each' from /usr/lib/ruby/1.8/rdoc/ri/ri_formatter.rb:210:in `display_flow' from /usr/lib/ruby/1.8/rdoc/ri/ri_display.rb:268:in `display_flow' from /usr/lib/ruby/1.8/rdoc/ri/ri_display.rb:63:in `display_method_info' from /usr/lib/ruby/1.8/rdoc/ri/ri_display.rb:59:in `page' from /usr/lib/ruby/1.8/rdoc/ri/ri_display.rb:59:in `display_method_info' from /usr/lib/ruby/1.8/rdoc/ri/ri_driver.rb:59:in `report_method_stuff' from /usr/lib/ruby/1.8/rdoc/ri/ri_driver.rb:115:in `get_info_for' from /usr/lib/ruby/1.8/rdoc/ri/ri_driver.rb:135:in `process_args' from /usr/lib/ruby/1.8/rdoc/ri/ri_driver.rb:134:in `each' from /usr/lib/ruby/1.8/rdoc/ri/ri_driver.rb:134:in `process_args' from /usr/bin/ri:48
then follows the first part of the documentation for render:
ActionController::Base#render render(options = nil, deprecated_status = nil, &block)
-- Renders the content that will be returned to the browser as the response body.
i wasn't able to reproduce this error with any other documentation, neither the other "render"-methods nor any other method.
it doesn't seem to be an issue with ri, as it just displays fine if i use ri from the commandline. remarkably the first part of the documentation is displayed but the mainpart is missing (about 150 lines).
it's not more than a slight annoyance, as i hardly need the docs for "render" any more :-).
regards, niko.
-- ____________________________ niko dittmann ni-di@web.de ____________________________