Skip to content

Instantly share code, notes, and snippets.

@Randuin
Created January 10, 2011 16:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Randuin/867324246b1f77b555b9 to your computer and use it in GitHub Desktop.
Save Randuin/867324246b1f77b555b9 to your computer and use it in GitHub Desktop.
Started POST "/albums" for 127.0.0.1 at 2011-01-10 08:20:22 -0800
Processing by AlbumsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"HsgkD1JEBcPIsPtLzLt9ml76k2aZix+IK4BUgMsFAsM=", "album"=>{"name"=>"woop", "image_attributes"=>{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x00000101dfa230 @original_filename="IO-0178.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"album[image_attributes][attachment]\"; filename=\"IO-0178.jpg\"\r\nContent-Type: image/jpeg\r\n", @tempfile=#<File:/var/folders/kb/kbPYACtnH28wvR+7YFJ+WE+++TI/-Tmp-/RackMultipart20110110-47417-wid3nx>>}}, "commit"=>"Save"}
MONGODB importfm_development['albums'].insert([{"name"=>"woop", "_id"=>BSON::ObjectId('4d2b31c68f154db939000004'), "image"=>{"attachment_file_name"=>"IO-0178.jpg", "attachment_content_type"=>"image/jpeg", "attachment_file_size"=>22005, "attachment_updated_at"=>2011-01-10 16:20:22 UTC, "_id"=>BSON::ObjectId('4d2b31c68f154db939000003')}}])
Redirected to http://localhost:3000/albums/4d2b31c68f154db939000004
Completed 302 Found in 470ms
Started GET "/albums/4d2b31c68f154db939000004" for 127.0.0.1 at 2011-01-10 08:20:22 -0800
Processing by AlbumsController#show as HTML
Parameters: {"id"=>"4d2b31c68f154db939000004"}
importfm_development['albums'].find({:_id=>BSON::ObjectId('4d2b31c68f154db939000004')}, {}).limit(-1)
Rendered albums/show.html.haml within layouts/application (26.4ms)
Completed 200 OK in 874ms (Views: 34.3ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment