Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Bug in ri_formatter.rb
Perry Smith
8/25/2007 4:23:00 AM
If you do ri of Rail's option_groups_from_collection_for_select, whose
complete name is
ActionView::Helpers::FormOptionsHelper#option_groups_from_collection_for_select,
then ri_formatter.rb throws an error at line 18:
def draw_line(label=nil)
len = @width
len -= (label.size+1) if label
print "-"*len <<< here
because len comes out to be negative (if width is set to 72).
The fix is trivial.
I can't find any other way to report a bug except this forum.
HTH,
Perry
--
Posted via
http://www.ruby-...
.
2 Answers
Eric Hodel
8/25/2007 7:34:00 AM
0
On Aug 24, 2007, at 21:22, Perry Smith wrote:
> If you do ri of Rail's option_groups_from_collection_for_select, whose
> complete name is
> ActionView::Helpers::FormOptionsHelper#option_groups_from_collection_f
> or_select,
> then ri_formatter.rb throws an error at line 18:
>
> def draw_line(label=nil)
> len = @width
> len -= (label.size+1) if label
> print "-"*len <<< here
>
> because len comes out to be negative (if width is set to 72).
>
> The fix is trivial.
>
> I can't find any other way to report a bug except this forum.
Did you try the RDoc project on RubyForge?
http://rubyforge.org/tracker/?func=add&group_id=627&...
--
Poor workers blame their tools. Good workers build better tools. The
best workers get their tools to do the work for them. -- Syndicate Wars
Mariusz Pekala
8/27/2007 1:19:00 PM
0
On 2007-08-25 16:33:41 +0900 (Sat, Aug), Eric Hodel wrote:
> On Aug 24, 2007, at 21:22, Perry Smith wrote:
>> The fix is trivial.
[...]
>>
>> I can't find any other way to report a bug except this forum.
>
> Did you try the RDoc project on RubyForge?
>
>
http://rubyforge.org/tracker/?func=add&group_id=627&...
>
It was already reported:
http://rubyforge.org/tracker/?func=detail&aid=11391&group_id=426&...
http://rubyforge.org/tracker/?func=detail&aid=9751&group_id=627&...
--
UNIX is basically a simple operating system, but you have to be a genius to
understand the simplicity.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Bug in ri_formatter.rb
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password