Skip to content

Instantly share code, notes, and snippets.

@tzhbami7
Created October 31, 2011 12:11
Show Gist options
  • Save tzhbami7/1327359 to your computer and use it in GitHub Desktop.
Save tzhbami7/1327359 to your computer and use it in GitHub Desktop.
Server log using create()
Started POST "/baan_imports" for 127.0.0.1 at 2011-10-31 12:43:31 +0100
Processing by BaanImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"0b/AodvncerrLMJgxiS6NCF5lR02bLwGaehpYzEkQQQ=", "baan_import"=>{"baan_upload"=>#<ActionDispatch::Http::UploadedFile:0x007fb682bcaf08 @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-41084-rwz4we>>}, "commit"=>"Upload"}
SQL (31.4ms) describe `roles_users`
User Load (1.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
SQL (0.2ms) BEGIN
SQL (3.2ms) describe `baan_imports`
AREL (0.4ms) 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:43:31', '2011-10-31 11:43:31', '11-08-14-export.csv', 'text/csv', 14163, '2011-10-31 11:43:31')
[paperclip] Saving attachments.
[paperclip] saving /Users/sufu/code/rails/doto/public/system/baan_uploads/9/11-08-14-export.csv
SQL (1.2ms) COMMIT
Redirected to http://localhost:3000/baan_imports
Completed 302 Found in 147ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment