search for: tmp_upload_dir

Displaying 2 results from an estimated 2 matches for "tmp_upload_dir".

2011 Jul 07
0
Question of uploading large file using carrierwave, uploadify and nginx upload module
...=> true else render ''new'' end end attachment model class Attachment < ActiveRecord::Base attr_accessible :file, :fast_asset mount_uploader :file, FileUploader def fast_asset=(file) if file && file.respond_to?(''[]'') tmp_upload_dir = "#{file[''filepath'']}_1" tmp_file_path = "#{tmp_upload_dir}/#{file[''@original_name'']}" FileUtils.mkdir_p(tmp_upload_dir) FileUtils.mv(file[''filepath''], tmp_file_path) self.file = File.open(tmp_file_pa...
2017 Nov 07
2
Problem with getting restapi up&running
...on worker_abort at 0x2847500> loglevel: debug bind: [':8080'] raw_env: [] initgroups: False capture_output: False reload: False limit_request_field_size: 8190 nworkers_changed: <function nworkers_changed at 0x2847cf8> timeout: 30 keyfile: None ca_certs: None tmp_upload_dir: None backlog: 2048 logger_class: gunicorn.glogging.Logger [2017-11-07 10:29:04 +0000] [30982] [INFO] Starting gunicorn 19.7.1 [2017-11-07 10:29:04 +0000] [30982] [DEBUG] Arbiter booted [2017-11-07 10:29:04 +0000] [30982] [INFO] Listening at: http://0.0.0.0:8080 (30982) [2017-11-07 10:29:04 +00...