mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Breathing room
This commit is contained in:
parent
5dfbc5878d
commit
f5d663708b
1 changed files with 0 additions and 1 deletions
|
@ -8,7 +8,6 @@ class ActiveFile::Site::DiskSite < ActiveFile::Site
|
||||||
@root = root
|
@root = root
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
def upload(key, io)
|
def upload(key, io)
|
||||||
File.open(make_path_for(key), "wb") do |file|
|
File.open(make_path_for(key), "wb") do |file|
|
||||||
while chunk = io.read(65536)
|
while chunk = io.read(65536)
|
||||||
|
|
Loading…
Reference in a new issue