Skip to content

Comment on Automatic Flushing: The Rails 3.1 Planparent

Comments

You can't send the headers unless you know if the person is authorized or not (and other common things you check in the before filters). So yes, this stuff would have to be checked before rendering a view.

I am willing to errantly send a 200 with a js redirect upon auth fail if it means faster load times.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.