Rails 2.1: send_file :x_sendfile => true

June 5, 2008 by Michael

The “x_sendfile” argument on the send_file method in Rails 2.1 is not well thought off as it has an impact in development mode also. I guess most Rails coders won’t have Apache proxying their mongrels in dev mode and so they don’t get to see any images or files but the plain path information.

I’ll guess i stay with the x_send_file solution as described here.

No comments yet

Post a Comment

Your email is never published nor shared. Required fields are marked *