Created
June 6, 2012 09:56
-
-
Save dayanand-sourcebits/2881040 to your computer and use it in GitHub Desktop.
what is expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"card"=>{"membership_id"=>"1", "number"=>"1231", "expiry_date"=>"06-08-2012", "image"=>#<ActionDispatch::Http::UploadedFile:0xacfd848 @original_filename="2.7 Overview-settings.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"card[image]\"; filename=\"2.7 Overview-settings.jpg\"\r\nContent-Type: image/jpeg\r\n", @tempfile=#<File:/tmp/RackMultipart20120606-31564-1tqrjlt>> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"card"=>{"expiry_date"=>"06-04-2012", "membership_id"=>"1", "number"=>"qwerqew", "image"=>"----0xKhTmLbOuNdArY\r\nContent-Disposition: form-data; name=\"CardImage\"; filename=\"cardCroppedImage06.21.12.21:12.png\"\r\nContent-Type: application/octet-stream\r\nContent-Transfer-Encoding: binary\r\n\r\n\n\r\"original_filename\"=\"/Users/vijendra/Library/Application Support/iPhone Simulator/5.0/Applications/F5319285-4F1E-40F5-9315-554F48B916AA/Documents/cardCroppedImage06.21.12.21:12.png\" "}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment