similar to: file_field_tag and rjs

Displaying 20 results from an estimated 500 matches similar to: "file_field_tag and rjs"

2006 Jan 15
4
file_field vs. file_field_tag
Hi, The documentation doesn''t make it clear why both file_field and file_field_tag are both useful. What is the reason for having two instead of just one of these? Thanks, Peter
2008 Jan 30
0
Making an object the same as is returned by file_field_tag
I''m using attachment_fu, and can make an attachment object (a Logo, which is basically an image file) fine using the tempfile that is returned from the file_field_tag on a form. However, i also need to make some from some files that are saved locally, in my public folder. I''m making a Tempfile object using the local file, but when i pass it to attachment_fu, it fails and
2009 Jun 11
0
file_field_tag : what was the original file name?
My site allows users to upload csv files for processing. It all works fine, but on the response I''d like to report something like "Your file abc.csv processed OK". Unfortunately I cannot seem to find the actual original file name in the params, even though Firebug tells me it''s part of the post. Any tips? Thanks....
2006 Jul 19
3
BackgrounDRb not working properly with files ?
Hey there, I''m kinda new to BackgrounDRb but I''m facing a big problem which I can''t seem to wrap my head around. The short version of it is : code that works when tested inside RoR''s console doesn''t work when executed by a BackgrounDRb worker. So I''ve tried a lot of things, including checking that the "load_rails" was true in the
2012 Jul 30
1
Accents and special character using hwriter (on Windows)
Hello, I have a problem with special characters such as "?" or "?" when using hwriter. This only happens when I use windows, it works fine on mac. If I do: print(datosdv) "Ciencias Sociales y Jur?dicas n:74 | 33.94%" but: hwrite(datosdv, p, br=TRUE) "Ciencias Sociales y Jur?dicas n:74 | 33.94%" The bad sign is in the code, is not a problem of the
2006 Aug 02
3
Upload forms--where is the file object?
Hi All, I''ve been trying to create an upload form page that will take an uploaded file, and save it to a directory on the server. I''ve tried following a couple of posts on this list, and the HowTo from here: http://wiki.rubyonrails.org/rails/pages/HowtoUploadFiles Here is the code in my view: <%= start_form_tag ( {:action => "upload"}, { :mulipart => true }
2007 Dec 08
3
Uploading photos using facebook & attachment_fu
Hi All, I''m trying to use a form to upload a photo that I will save using attachment_fu. I''m very new to Facebookr so I apologize if this is covered somewhere, but I''m kind of stumped. Here''s what I''m doing now: <% facebook_form_for(:my_object, :url => { :action => ''upload_photo'', :id => params[:id] }, :html => {
2015 Feb 17
4
uefi and bios bootable optical media
We have been using syslinux (V4.05) in our product for years without a problem. Since we encounter more and more systems that do a UEFI boot by default we want to support that too. So I've been using syslinux V6.03 to create usb sticks and harddisks to allow both bios and uefi boot which works fine. The problem I run into now is that it is not possible to create a dvd that is capable of
2008 Feb 04
2
attachment_fu and form_tag for multiple models?
hi, i''ve got a page where i''m trying to save the user''s profile information and an image of the user, but i''m having trouble with using attachment_fu and the form_tag method. now i know attachment_fu isn''t designed for form_tag but am really hoping someone has a solution for this as frankly i''m stumped. here''s the form_tag part in
2011 Feb 18
1
why 'Template missing' error with form_tag?
ROR newbie here... I''m trying to build a form to upload a CSV file, then parse and store the data. I have debugged this code up this point, but now when I browse to my csv file, and click Upload, I get this error: "Missing template uploads/process_file.html.erb in view path..." Here is my view (in /uploads/new.html.erb) <% form_tag ({:action =>
2006 Nov 16
1
Regarding debugocfs
Hi experts, My customer issued debugocfs to check for file_size and extent info but values such as file_size, alloc_size, next_free_ext were 0. (/dev/sdi1 contains datafiles and arc files) # debugocfs -a 0 /dev/sdi1 debugocfs 1.0.10-PROD1 Fri Mar 5 14:35:29 PST 2004 (build fcb0206676afe0fcac47a99c90de0e7b) file_extent_0: file_number = 128 disk_offset = 1433600 curr_master = 0 file_lock =
2007 Feb 09
7
Upload image without rmagic
I need a way to upload an image and display it without using any of the plugins that use rmagic. I have used the plugins (file_column, fleximage) which both use rmagic and gave me problems (never got fleximage to work) Thanks in advance - K --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2012 Mar 27
4
Upload
hello everyone, i have written an upload controller which handles files in a multipart- form. it scans through the bytes to check if it''s an acceptable file. my problem is to get the progress of the upload of a single file. i loop through my params to move every file to the server and it''s working properly. is there a method to check whether a file has been completely
2013 Feb 26
3
Did anybody do a dovecot update on centos 5.x?
Hi, dose anybody did a dovecot update from the original 1.0.7 to e.g. 1.1 or 1.2 from atrpms repository? We dont have any special settings; Each user one mbox mailbox. About 500 imap/pop3 accounts, 400GB data. Any suggestions and comments are welcome. Regards . G. Reinicke -- G?tz Reinicke - IT-Koordinator - Filmakademie Baden-W?rttemberg GmbH
2010 Jun 15
3
RoutingError
hi, can anyone help me. i want to create an url to invoke create action of a controller. routes.rb has the routes. But i am getting error at line 23. i have @user variable. user_contact_path(@user.id) I want generate url as : users/3/contacts to invoke contacts controller''s create action ---------------------------------------------------------------------------------
2015 Feb 18
0
uefi and bios bootable optical media
> We have been using syslinux (V4.05) in our product for years without a problem. > Since we encounter more and more systems that do a UEFI boot by default > we want to support that too. So I've been using syslinux V6.03 to create > usb sticks and harddisks to allow both bios and uefi boot which works fine. > > The problem I run into now is that it is not possible to create
2006 May 31
4
acts_as_attachment , someone using it?
Hi, i just found the acts_as_attachment plugin for image upload, seems sogood but i cant find any docs about it, if someone here using it can give some references or working examples about the plugin that will be excellent. So what you wanna rails today? -- Posted via http://www.ruby-forum.com/.
2013 May 12
1
OpenStack Grizzly on CentOS-6.4
Hello, setting up the newest OpenStack Grizzly release seems to be really straight-forward. Red Hat has put together all support for this at http://openstack.redhat.com/. I've documented installation, post-install config tweaks, how to add a few ready-to-use guest images and links to a few gotchas on the following wiki page: http://jur-linux.org/testwiki/index.php/CloudLinux/OpenStack
2011 Jul 16
1
crash in extlinux/main
Hi, I found a bug in extlinux/main.c. Writing a bootloader on a file mounted via /dev/mapper in Lunix it crashed on me with a segment fault. The bug is here: if (!ioctl(devfd, HDIO_GETGEO, &geo)) { Since we are already called with geo as a pointer the & is wrong as the pointer itself will be overwritten. This works: int get_geometry(int devfd, uint64_t totalbytes, struct
2006 Mar 08
19
Creating multiple rows with one form
Hello. I''ve been trying this out for the past two days and I can''t seem to get it. I''m going to have a page where you can upload x amount of images at once. Lets say 10 images need to be uploaded, all with a caption. I''d like to have a browse button to choose the file, then the caption. Now, if I put 10 of them in one form, fill them all out and submit, I get