On 1 Oct 2008, at 11:21, Gu stav wrote:
> >> Short version: using equality with floats isn't a foot idea (not just >> in this case - in general) >> >> Fred > > Should I just convert the floats into strings instead perhaps? I doubt that would help - that's happening anyway when rails generates the query. == Is fundamentally dangerous with floats, almost all the time you want to be searching in a range. > > -- > Posted via http://www.ruby-forum.com/. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---