Ben Johnson
2006-Aug-27 02:09 UTC
select() can''t do float or anything other than a string?
I have a database field that is a float type. If I do form_for and then f.select :the_field it will not select the db value unless I make it a string. I''ve had a hard time with this many times. Is there something I''m missing here? Shouldn''t it convert it to a string for me and compare the results? Thanks for your help. -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---