bench/benchapp/application.rb in rhosync-2.1.0.beta.1 vs bench/benchapp/application.rb in rhosync-2.1.0.beta.2
- old
+ new
@@ -16,10 +16,10 @@
# See http://rack.rubyforge.org/doc/Multipart.html for more info
#
# Override this by creating a copy of the file somewhere
# and returning the path to that file (then don't call super!):
# i.e. /mnt/myimages/soccer.png
- def store_blob(blob)
+ def store_blob(obj,field_name,blob)
super #=> returns blob[:tempfile]
end
end
end
\ No newline at end of file