Displaying 1 result from an estimated 1 matches for "e23542c4871504f64044a25d8d49871b".
2007 Sep 26
0
[Story] passing a file using post
...e and try the following line:
app.post "users/admin/assets", :asset => { :uploaded_data =>
File.open(''/Users/multimedia/desktop/sample/assets/bridge.jpg'')
}
I get:
Processing UserAssetsController#create (for 127.0.0.1 at 2007-09-25
23:47:36) [POST]
Session ID: e23542c4871504f64044a25d8d49871b
Parameters: {"action"=>"create", "controller"=>"user_assets",
"user_id"=>"admin", "asset"=>{"uploaded_data"=>"#<File:0x36a68ac>"}}
ArgumentError (A copy of AuthenticatedSystem has been...