Oops...Now i tried "merb -i" on clean environment which is just only
did "merb-gem app", this behavior hasn't occured.
The other programs caused of this report.

I'm sorry for bogus report.

Thanks,
Kaz

On Tue, Dec 16, 2008 at 11:52 PM, TAKAHASHI Kazuyoshi
<[email protected]> wrote:
> Hello everybody,
>
> I'm trying to use Merb 1.0.5.
> And I'm struggling with strange to_f() behavior.
> Please see below,
>
> % merb -i
> (snip)
> irb(main):008:0> (90.0).to_i
> => nil
>
> % irb
> irb(main):001:0> (90.0).to_i
> => 90
>
> This behavior affect to code in Responder::_accept_types.
>        quality = quality ? (quality.to_f * 100).to_i : 100
> (merb-core/controller/mixins/responder.rb:277)
>
> Is this a bug?
>
>
> Thanks,
> Kaz
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to