Skip to content

Instantly share code, notes, and snippets.

@tzhbami7
Created October 31, 2011 12:04
Show Gist options
  • Save tzhbami7/1327347 to your computer and use it in GitHub Desktop.
Save tzhbami7/1327347 to your computer and use it in GitHub Desktop.
Server log using save()
Started POST "/baan_imports" for 127.0.0.1 at 2011-10-31 12:27:57 +0100
Processing by BaanImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"0b/AodvncerrLMJgxiS6NCF5lR02bLwGaehpYzEkQQQ=", "baan_import"=>{"baan_upload"=>#<ActionDispatch::Http::UploadedFile:0x007ff40464a078 @original_filename="11-08-14-export.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"baan_import[baan_upload]\"; filename=\"11-08-14-export.csv\"\r\nContent-Type: text/csv\r\n", @tempfile=#<File:/var/folders/bv/hz70f7255hv00p9cq0tctwm40000gn/T/RackMultipart20111031-41079-cwm2lm>>}, "commit"=>"Upload"}
SQL (33.7ms) describe `roles_users`
User Load (1.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
SQL (1.2ms) BEGIN
SQL (2.1ms) describe `baan_imports`
AREL (0.3ms) INSERT INTO `baan_imports` (`baan_import_group_id`, `importing_date`, `created_at`, `updated_at`, `baan_upload_file_name`, `baan_upload_content_type`, `baan_upload_file_size`, `baan_upload_updated_at`) VALUES (NULL, NULL, '2011-10-31 11:27:57', '2011-10-31 11:27:57', NULL, NULL, NULL, NULL)
[paperclip] Saving attachments.
SQL (1.1ms) COMMIT
Redirected to http://localhost:3000/baan_imports
Completed 302 Found in 96ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment