On 29 November 2013 22:18, Ankur Kumar wrote:
>
> Hi,
>
> I created a simple form using form_for and partials. When I enter a value in
> text field and click on add button, the data doesn't get uploaded in
> database table.
Can I suggest that you work right through a good tutorial such as
railstu
Hi,
I created a simple form using form_for and partials. When I enter a value
in text field and click on add button, the data doesn't get uploaded in
database table.
*view/task.html.erb*
<%= render :partial => "job_form" %>
<% for job in @jobs %>
<%= job.name %>
<% end %>
*view/_job_form.html.e
2 matches
Mail list logo