form-for

Rails + jQuery - Using jQuery to submit the form w/o the Submit button

Given: <%=form_for [:project, @note], :remote => true do |f| %> I'd like to create a jquery bind that automatically saves every few seconds. I'm not worried about the timing part yet, just how to use jquery to submit the form automatically (ie, not submit button click by the user.) I tried this, but it isn't working. Suggestions? $(...

fields_for doesnt working when form_for use symbol

i have a form_for code <%form_for :a,:url=>{:controller=>"biz/a",:action=>"save"},:html =>{:multipart => true} do |f| %> ..... <%f.fields_for :b do |b|%> ..... <%b.fields_for :apples do |apple|%> ... <%end%> .... <%end%> it outputs the html code without fields_for function <textarea cols="40" id="a_b_apples_content" name="a[b][appl...