Hi. Isn't this a Rails question? I don't see any Ruport code in your example.
-greg
--
Technical Blaag at: http://blog.majesticseacreature.com | Non-tech
stuff at: http://metametta.blogspot.com
But I can't see another explanation for
>"no implicit conversion between nil and integer"
BTW, I quickly tried some code like
nil + 5
42 + nil
nil + '4'
'4' + nil
and I never got this kind of error.
The closest was "TypeError: nil can't be coerced into Fixnum".
Shamu, is this your real error log ?
Could you post a trace or tell us what Ruby version you are using ?
> "ruby code" style element :
> content = '*'+item.id.to_s+'P'+item.value+'*'
> "ruby literal" style element :
> span('barcode',votepour)
You may get this error from votepour, or when using content, but you
did not give enough code.
--
Sylvain Abélard
"J'ai décidé d'être heureux, c'est meilleur pour la santé." -Voltaire
Unless there is Ruport related content here, please discuss this off-list.
Thanks for helping though Sylvain!
-greg