Jose vicente Ribera pellicer wrote:
>  I tried with:
> 
>  form_for [...@encuesta, @pregunta] do |f|
>   <%= f.error_messages %>
> 
>    <p>
>      <%= f.label :texto %><br />
>      <%= f.text_field :texto %>
>    </p>
>     ...
>   end
> 
>  The result is the same. I thinking that perhaps i can0t do "restful" 
> forms :(

Solved!!

<% form_for(@pregunta, :url => encuesta_preguntas_path(@encuesta)) do 
|f| %>

It rules!!
-- 
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to