Probably best to take a quick read through optimism.leastbad.com/quick-start but while the form itself is submitted via UJS (Ajax / remote=true) out of the box there is nothing in Rails to handle in-line validation errors.
I promise you that there's a lightbulb/aha! moment in your immediate future. Give it a try.
(This is of the "holy crap, I didn't have to write any code" variety.)
I’m not totally sure I follow, what is this doing differently than AJAX?
Hey Ben, did you ever get to try Optimism? Still patiently waiting to offer any help.
The only thing that's changed since my last note is how popular it's become. ;)
Probably best to take a quick read through optimism.leastbad.com/quick-start but while the form itself is submitted via UJS (Ajax / remote=true) out of the box there is nothing in Rails to handle in-line validation errors.
I promise you that there's a lightbulb/aha! moment in your immediate future. Give it a try.
(This is of the "holy crap, I didn't have to write any code" variety.)
Let me know if you have any issues getting it fired up; it should take <2m. I genuinely want you to love it.