On Sat, May 23, 2009 at 1:01 PM, Mk 27 <rails-mailing-l...@andreas-s.net> wrote:
> ->67 != 67 > > WHAT THE HECK? I'm new to ruby, this seems an odd feature...I would > guess this is about data types??!!? Both numbers are sourced from an > sqlite INTEGER. Nope, nothing to do with Ruby -- HTTP request parameters are *always* strings. If you need to compare to an integer, use params[:whatever].to_i -- Hassan Schroeder ------------------------ hassan.schroe...@gmail.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 rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---