Ruby on Rails Thursday, August 1, 2013

I am following Railscasts #217 and I have been able to make everything work using html protocol the only issue is that I need it to use ajax protocol instead. My question and code is very similar to stackoverflow question Multistep forms in Rails using AJAX . I understand how to setup ajax and make the form sumit remotely my question though is how do I pass over the forms variable i.e. "f" as in "<%= form_for @post do |f|>" Any help is appreciated.


Originally asked at http://stackoverflow.com/questions/18001406/rails-multistep-form-with-ajax-modification

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/6a97a2b7-b783-4060-a179-6beecd14f58d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment