[Nitro] [PATCH] xhtml helper

Dimitri Aivaliotis aglarond at gmail.com
Wed Apr 26 04:49:55 EDT 2006

just a small change to the xhtml helper, to make sure that the
comparison is done correctly.

Note: no actual patch is included because it is a trivial change.


line 54 of lib/nitro/helper/xhtml.rb (version 0.29.0)

line 78 of lib/nitro/helper/xhtml.rb (current repo)

                if value == selected

should be

                if value.to_i == selected

because 'selected' has .to_i done to it earlier.

Let me know if I should make an actual patch for this, and I'll send
it later today.

- Dimitri

More information about the Nitro-general mailing list