Saturday, June 7, 2008

Note to self: Don't use table in remote_form_for

I haven’t dug into the Rails source code yet to find out why, but when using remote_form_for, don’t use tables for layout; the request will fail with an authenticity error. Yeah, yeah, I know, why am I using a table instead of a div/css? Why? Simply because it was a quick & easy hack, that’s why.

And no, I haven’t learned my lesson.

No comments:

Post a Comment