Hello folks, In one of my forms, I have a wired problem, it does not post the form data to the rails from what I see in log file. It works locally but not after deployment to the server. All of other forms work but not this one. Here is my form code: <% form_for(@book) do |f| %> which generate <form action="/books" class="new_book" id="new_book" method="post"> I''m using jqurey validation for this form but it does not change form method. I don''t see any js error nor ralis error. But when I sumbit the form in log file I see: Processing JobsController#index [GET] Parameters: {"action"=>"index", "controller"=>"jobs"} Any clue? Thanks in advance, - Dunnil --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Are you using FastCGI? fcgi doesn''t agree so much with the url. On Feb 13, 2008 9:09 PM, Houman Dunnil <h.dunnil-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hello folks, > > In one of my forms, I have a wired problem, it does not post the form > data to the rails from what I see in log file. It works locally but > not after deployment to the server. > All of other forms work but not this one. > > Here is my form code: > <% form_for(@book) do |f| %> > > which generate > > <form action="/books" class="new_book" id="new_book" method="post"> > > I''m using jqurey validation for this form but it does not change form > method. I don''t see any js error nor ralis error. But when I sumbit > the form in log file I see: > Processing JobsController#index [GET] Parameters: {"action"=>"index", > "controller"=>"jobs"} > > Any clue? > > Thanks in advance, > - Dunnil-- Ramon Tayag --~--~---------~--~----~------------~-------~--~----~ 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 Feb 13, 2008 4:47 PM, Ramon Miguel M. Tayag <ramon.tayag-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Are you using FastCGI? fcgi doesn''t agree so much with the url. >No, it''s on mongrel. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
My bad, it was on FastCGI. It works now! On Feb 13, 2008 4:49 PM, Houman Dunnil <h.dunnil-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Feb 13, 2008 4:47 PM, Ramon Miguel M. Tayag <ramon.tayag-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Are you using FastCGI? fcgi doesn''t agree so much with the url. > > > > No, it''s on mongrel. >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---