I am using a drop down box in a form, the method is GET. The data that i am selecting in the box is not getting stored in the database. But when i am not using the drop down box the rest of the data is getting stored. I stored the submitted form data in an instance variable. When i am trying to print the instance variable no output is coming..... Can anybody tell how to get the selected data in the drop down box in the other form? --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
Subhash wrote:> I am using a drop down box in a form, the method is GET. The data > that > i am selecting in the box is not getting stored in the database. But > when i am not using the drop down box the rest of the data is getting > stored. I stored the submitted form data in an instance variable. > When > i am trying to print the instance variable no output is coming..... > Can anybody tell how to get the selected data in the drop down box in > the other form?Can you post some code? Cheers -- 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?hl=en -~----------~----~----~----~------~----~------~--~---
On 6 Nov 2007, at 11:58, Rajeev Kala wrote:> > Subhash wrote: >> I am using a drop down box in a form, the method is GET. The data >> that >> i am selecting in the box is not getting stored in the database. But >> when i am not using the drop down box the rest of the data is getting >> stored. I stored the submitted form data in an instance variable. >> When >> i am trying to print the instance variable no output is coming..... >> Can anybody tell how to get the selected data in the drop down box in >> the other form? > > Can you post some code?ditto. Also, it''s the 4th time you''ve asked this question today. once is enough. Fred --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---