aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2012-04-12 09:52:41 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2012-04-12 09:53:00 -0700
commit5c51cd0b2f7ac28825bdeb1f2f49f4647be12e52 (patch)
treee030004148271c371f6aa670bc64f1621826a69f /activerecord/test/schema
parent8248f4202d67a781bd3da88fc9412bc7264bbb7b (diff)
downloadrails-5c51cd0b2f7ac28825bdeb1f2f49f4647be12e52.tar.gz
rails-5c51cd0b2f7ac28825bdeb1f2f49f4647be12e52.tar.bz2
rails-5c51cd0b2f7ac28825bdeb1f2f49f4647be12e52.zip
#send_file leans on Rack::Sendfile to X-Accel-Redirect the file's path, so opening the file to set the response body is wasteful. Set a FileBody wrapper instead that responds to to_path and streams the file if needed.
Diffstat (limited to 'activerecord/test/schema')
0 files changed, 0 insertions, 0 deletions