Lakshan Perera
2006-Sep-26 03:31 UTC
Sending the values of Date_select form field through Post
I''ve got a form which only consists of two Date_select elements, which sends two date values to a action in same controller to retrive some data. This works fine when I test in my local machine with web brick server. But once I upload the app to the host (DreamHost server), the date_select parameters doesn''t seem to get posted to the action. Which results in Action Controller returning an error with nil objects. Also request parameters of the section shows as none. So it seems the error is due to the no parameter values were posted. What prevents parameter values get posted on the server ? Can anyone help me to clarify the issue? -- 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 -~----------~----~----~----~------~----~------~--~---
sw0rdfish
2006-Sep-28 02:46 UTC
Re: Sending the values of Date_select form field through Post
Probably not the problem, but is the host running on production mode? In which case you have to restart the Rails App for it to work? common gotcha I thought I''d point out. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Lakshan
2006-Sep-28 06:54 UTC
Re: Sending the values of Date_select form field through Post
No the host is running on development mode. Any Clues ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---