Displaying 1 result from an estimated 1 matches for "d7b173a79b7f1382dc3b037c73608233".
2007 Sep 26
0
[Story] passing a file using post
...ile.open(''/Users/multimedia/desktop/sample/assets/bridge.jpg'')
do |path|
post_via_redirect "/users/#{@user.login}/assets", :asset => {
:uploaded_data => path }
end
Processing UserAssetsController#create (for 127.0.0.1 at 2007-09-26
14:49:10) [POST]
Session ID: d7b173a79b7f1382dc3b037c73608233
Parameters: {"action"=>"create", "controller"=>"user_assets",
"user_id"=>"Andrew", "asset"=>{"uploaded_data"=>"#<File:0x326eaf0>"}}
User Load (1) (0.002464) SELECT * FROM users WHERE...