similar to: File_field and Firefox

Displaying 20 results from an estimated 400 matches similar to: "File_field and Firefox"

2006 Feb 06
5
Just to say hello.
I just subscribed to this list and i just wanted to say hello before starting dumb questions about rails. I just started my programming career with a ruby''n''rails application here in italy and i could use some help, and in time, when i will be more skilled, i will be glad to give some help back ;) See you! -- Maurizio Marek idnondisponibile@tin.it
2010 Mar 25
2
NoMethodError (private method `chomp' called for nil:NilClas
Hi: I am using Rails 2.3.5 with paperclip, mime-types and uploadify. So far the application is working in development environment. But when I switched to the production environment, it produced the following error. NoMethodError (private method `chomp'' called for nil:NilClass): /usr/lib/ruby/gems/1.8/gems/mime-types-1.16/lib/mime/types.rb:665:in `type_for''
2006 Jan 06
4
Upload Progress Bar Problems
I''m writing an application where the user will be uploading many images and user feedback is essential. I''ve been trying to get the upload progress bar plug-in to work, but thus far have not had any success. I''ve downloaded Sean Treadway''s application code from his site http://sean.treadway.info/demo/upload/ and I followed the steps in his Upload
2006 Jan 22
1
file_field questions
A couple questions about file_field elements. First, with code such as this: <%= file_field ''attachments'', ''filename'' %> Would the filename of the file I select be the value that''s stored within the database under the "filename" column, and then I would just add in code in my "create" controller to upload the actual file?
2010 Sep 20
0
file_field
At: http://www.tutorialspoint.com/ruby-on-rails/rails-file-uploading.htm You can find: <%= file_field ''upload'', ''datafile'' %> I saw the file_field documentation from here: http://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-file_field But, still cannot get how the parameters ''upload'' and
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
2006 Jul 28
1
How do I get an original file name from an upload using file_field?
I am uploading a .csv file for importing into a database; however, this file does not need to be saved on the server. How do I get the file name of the original file? I know about the file_column plugin but I don''t need/want to save the uploaded file on the server, I just need to import it and delete it. Right now the file name get returned as some random temp file name... there has to be
2009 Feb 11
0
remote_form_for file_field strangeness
Does anyone see any problem with this form? - form_remote_for(Photo.new, :html => {:multipart => true, :target => :uploader}) do |f| .form_element = f.label :photo = f.file_field :collateral = hidden_field_tag :container_id, @shoot.id = hidden_field_tag :container_type, @shoot.class.name .form_element = f.submit ''Add Photos'' The photo has a
2005 Nov 17
1
original filename doesn't display in file_field
In my item upload view I have: <%= file_field ''item'', ''file'' %> and in my Item model: def file @file #@file.original_filename # <- also tried this end def file=(file) @file=file end And if the upload bails because of errors (and renders the same page), all other fields (text_field, text_area, etc.) retain their inputted values, but the file
2006 Jul 18
0
how to ensure that a file has been selected on a file_field?
Does anyone know how to validate if a file has been selected using a file_field control? I want to ensure a file has been selected before the associated action is selected. Presumably something like validates_presence_of something ? Any pointers most appreciated... John -- Posted via http://www.ruby-forum.com/.
2006 Apr 30
0
ActionMAiler and file_field Question
Hi Gang, I''m trying to figure a way to set an attachment to an email by allowing the user to browse for a file to send with the mail. I thought that I could use file_field to do this - but having no luck. HAs anybody got a working example of how to achieve this? Or is it the wrong way to go? TIA, Eric.
2008 Jun 19
2
Non editable file_field
Hi, I need to upload files in my application I am using following code <tr> <td width="125">Upload Document:</td><td width="400"><%= form.file_field("filename") %></td> </tr> But I want that the file field that gets displayed in my browser should not be editable. i.e user should be able to select the file through the
2009 Oct 20
5
Annoying problem with file_field and paperclip
Hi all, I have a really really annoying problem that''s driving me nuts with file_field and paperclip and having to upload images everytime a form is edited even though the user is quite happy with the currently uploaded image or loose the previously uploaded image. This seems to be caused by the rails file_field helper not storing the data that has been read in from the db in the same
2006 Dec 15
0
Help with file_field
I''m new to ruby and rails, so sorry if this is a simple question. I''ve found lots of examples that demonstrate uploading pictures, but I need something simpler. Could someone post a simple example of uploading a text file, saving the file in an object and then "puts" the object text. I''m really getting lost in two steps: 1. How to get from file name to
2007 Mar 14
9
file_field doesnt work inside form_remote_for
When I do file_field within a form_for things are fine... but within a form_remote_for, with nothing else changed, I find that the params does not even have the element document[uploaded_file] even though it is definitely present in the HTML source in the form. Obviously the file upload fails. Am I missing something? Or has someone else faced this? Or is this a known bug? Rajesh
2006 Feb 17
0
Ruby''n''Rails
Salve, pensavo che potrei passare a farle vedere le nuove funzionalit? che ho implementato luned? mattina, lei sarebbe disponibile? -- Maurizio Marek idnondisponibile@fastwebnet.it
2010 Oct 25
0
Rails 3 -NoMethodError (undefined method `original_filename
Hello! I''m using Rails 3, Uploadify, to send images to S3. Right now all the images being uploaded to S3 have the MIME: application/octet-stream I''d like to fix that but I''m getting the following error: NoMethodError (undefined method `original_filename'' for #<ActiveSupport::HashWithIndifferentAccess:0x107c81998>): app/models/photo.rb:29:in
2006 Sep 03
5
Upload Progress.
I have been trying to get a File Upload Progress system working, and I have tried using Sean Treadway''s plugin, but I can''t seem to get it to work..... Building my own seems to be the logical answer, but how would I get the total bytes received from a file? What do I call? Thanks for your help and time. -- Posted via http://www.ruby-forum.com/.
2006 May 29
3
IFRAME based RJS - responds_to_parent
** File uploads with AJAX mojo ** Respond with RJS to your parent window with a form action targeted to a hidden IFRAME. Handles all the painful situations like scoping your JavaScript to your parent window generating the script block for execution and clearing the IFRAME after execution so the back button doesn''t re-execute the action. `plugin install
2015 May 18
2
tinc stopped working after restart
All nodes was connected both 1.1pre10 and 1.1pre11 before "tinc -n vpn restart" at Node 1. Shouldnt at least the 1.1pre10 nodes connect again? 2015-05-18 23:39 GMT+02:00 Guus Sliepen <guus at tinc-vpn.org>: > On Mon, May 18, 2015 at 11:04:09PM +0200, ?smund Rabbe wrote: > > > One of the nodes (Node5) stopped working a while ago (2 - 3 weeks or so), > > other