Problem with remote_form_for


I've got a problem with a remote_form_for

I use it for a nested resource in that way: <%
remote_form_for([match , tip]) do |f|%>

The resulting table begins with:

<form action="/matches/2/match_tips/4" class="edit_match_tip"
id="edit_match_tip_4" method="post" onsubmit="new Ajax.Request('/
matches/2/match_tips/4', {asynchronous:true, evalScripts:true,
parameters:Form.serialize(this)}); return false;"><div style="margin:
0;padding:0;display:inline"><input name="_method" type="hidden"
value="put" /><input name="authenticity_token" type="hidden"
value="h6PC8oysjD/GWAeUiFrfHqy5rdzQ+3Re8bYhSFHklh0=" /></div>

I get the following output in the log:

Processing ApplicationController#index (for at 2010-03-10
20:52:09) [POST]

ActionController::MethodNotAllowed (Only get, put, and delete requests
are allowed.):

Rendered rescues/_trace (23.0ms)
Rendered rescues/_request_and_response (0.3ms)
Rendering rescues/layout (method_not_allowed)

Does anyone knows where the problem is?