[Nitro] [BUG?] nitro/helper/xhtml.rb options

Dimitri Aivaliotis aglarond at gmail.com
Wed Jun 21 07:05:41 EDT 2006

Hi Bill,

On 6/21/06, Bill Kelly <billk at cts.com> wrote:

> I'm wondering if the "to_i" is intentional in the following code:
>       selected = (options[:selected] || -1).to_i
> #                                           ^^^^
> -------------------------------------------

If this is changed, then the following ticket can be ignored:


One or the other should happen, though, IMO.  It would make the comparison
as mentioned in the ticket consistent.

- Dimitri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20060621/e9521abe/attachment.html 

More information about the Nitro-general mailing list