No action responded to create

Hey guys!Ihave a problem with a nested resource: when i subbmit the
new page i receive:No action responded to create
the controller :

cristina wrote:

Hey guys!Ihave a problem with a nested resource: when i subbmit the
new page i receive:No action responded to create
the controller :

[...]

----------------------
<h1>New Blog Entry</h1>

<%= error_messages_for :entry %>

<% form_for(:entry, :url => user_entries_path) do |f| %>
<p>Title:<br /><%= f.text_field :title, :size => 40 -%></p>
<p>Blog Entry:<br /><%= f.text_area :body, :rows => 10, :cols => 60 -
%></p>
<p><%= f.submit "Create" %></p>
<% end %>

<%= link_to 'Back', user_entries_path(@user) %>

I think you should add the user to your form url which means it should
be ":url => user_entries_path(@user)" where @user is the variable set
once logged in or so.

Guillaume Petit
www.nomadsper.com