What is your JS code for sending the request? 2011/6/24 Walter Lee Davis <wa...@wdstudio.com>
> > On Jun 23, 2011, at 5:00 PM, sc-kitten wrote: > > Hi, >> I am not sure what is happening... But suddenly my apps in Rails >> started behaving weirdly. Non of the Ajax PUT requests are received as >> PUT anymore and instead Rails complains that I am sending POST... I >> also noticed that instead of the correct module, for example PUT >> request is sent via Ajax to /server/sections/3, and the error is >> thrown at the level of rails application. >> >> ActionController::**MethodNotAllowed (Only get, put, and delete requests >> are allowed.) >> >> I would like to know what the heck is going on here and how to fix >> this... Any insightful ideas are welcome. >> > > Are you sure your JavaScript librar(y|ies) loaded correctly? Did you > disable JavaScript in your browser during testing? > > Walter > > > > > -- > 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<rubyonrails-talk@googlegroups.com> > . > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe@**googlegroups.com<rubyonrails-talk%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- 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.