RailsCasts Pro episodes are now free!

Learn more or hide this

Chris Miller's Profile

GitHub User: chrxs

Site: http://www.thelightdivided.com

Comments by Chris Miller

Avatar

Hi guys,

wondering if anyone has tried this by submitting the form by AJAX?

I've got the first step that creates a new Project, then we redirect to the project_steps_path to go to the actual first step of the wizard. This works fine until we submit the form via AJAX where we just keep getting a 302 response Moved Temporarily, the Project does get created and I think the redirect to project_steps works, but instantly redirects again to the Project/index view.

I'm hoping to be able to submit by AJAX and in the response get the next views HTML

Has anyone else experienced this or something similar?

cheers
Chris