Re: Rendering partial via AJAX call in Rails

Hi,Not sure if this is very relevant, but do you know this gem : https://github.com/schneems/wicked ? I did not test it but it seems to be helpful in the creation of a 'step-by-step' form, so you may find some helpful pieces of code to put you on the right way...

Re: Rendering partial via AJAX call in Rails

<%= render :partial => @user.first_step %>

Might have to add .to_s to the end. I don't know. Then include your form inside the partial. I have no idea what you were trying to do.

Edit:

Your controller renders actions, not your view. Post up your controller code. Your controller should handle the logic and pass it to the js view. When done, it can then redirect! Assuming I understand correctly.