Rails 2.1: send_file :x_sendfile => true
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.
Share This
— Trackback URI
This entry (permalink) was posted on Thursday, June 5, 2008, at 8:17 am by Michael, tagged with Rails and categorized in English posts, Rails.
The following post could be of some interest: Turning off x_send_file in development mode, Disable Ruby On Rails Sessions, Why opinionated software sucks… Not!, Rails Links, Windows commercials, PDF::Writer and Ruby on Rails 2.2.2, Safari Webinspektor, PDF::Writer and Ruby on Rails 2.1, Using rubyzip to create zip files on the fly, Make XQuartz more usable
Post a Comment