similar to: file_column generating random empty images

Displaying 20 results from an estimated 700 matches similar to: "file_column generating random empty images"

2006 Feb 24
0
Re: file_column on windows?
I am not able to get this to work on Windows, and the problem has been documented with a fix here, but I can''t get the fix to work, either. Ok, I admit it: I am a newbie with rails! here is the problem''s fix: You can fix your file_column for now by replacing the get_content_type method in lib/file_column.rb with this version: def get_content_type(fallback=nil)
2006 Jan 03
3
file_column howto (beginner)
I''m trying to use file_column as a Rails plugin. Of course I read the doc (from Sebastian, this maillist) and little bit of source (as good as I, newbie, could understand it).. But I''m not able to implement it in my app.. I''m a totally newbie with less software development experience. I get the file_column_field in my view with simply invoking the helper... (:multipart
2006 Jan 22
2
File_column not keeping value during page reloads
I''m trying to use the file_column plug-in to attach a file to a newsletter posting. It works fine if I get the form right the first time, but if I get an error, such as not typing in a required field, and the form re-displays, my file selection box reverts to "no file selected." Here''s my relevant controller code: def new @newsletterpost = Newsletterpost.new
2007 Apr 10
1
Re: Laptop with VT - recommendations
my .02 cents Don''t go SONY... :( I was very unhappy learning that they don''t support VT from their Bios setup although the cpu is right. model VGN-SZ3XP core duo2 7200 so called "Business oriented laptop" The information is not clearly shown in their http://shop.sonystyle-europe.com/ and is hidden at
2006 May 28
4
File_column trouble, advice needed
Finally i have RMagick and the file_column plugin installed, but at the time of uploading images i have trouble, i get "uninitialized constant ArtImage" error and other errors, im following the instructions on http://wiki.rubyonrails.com/rails/pages/HowToUseFileColumn but doesnt seems to work, this its the code im using: #----view <%=
2006 May 02
3
file_column : _temp field always nil
Hi, I''m trying to set up file_column to upload attachments for emails. My view has <td align="left"><%= file_column_field ''to_do'', ''attachment'' %></td> and the attachment_temp hidden field is generated. When I inspect tthe params on saving the form the attachment_temp param is always an empty string. Also, when I was
2006 Apr 28
2
file_column with polymorphic table relationship?
Hello, I''m just starting out with both Rails and Ruby, so I hope this isn''t too simple of a question - but I''ve been struggling to find a solution. I''m using the file_column plugin to handle image uploads and thumbnail generation. In addition, I''ve wrapped the image into a polymorphic table so I can have uploaded images associated with multiple
2006 May 30
3
plz help ~> new to file_column
i am trying to figure out how file column works so i can play with it a little bit on my site. i have installed it as a plugin to my rails application, copied the snippets on both model and view but when i try to run the page, i get an error saying "undefined method `file_column_field''" did i do something wrong or is something not installed? -- Posted via
2005 Dec 31
0
File_column and multiple file select
Hello All, I have been playing with file_column for a while and I love it. Thank you Sebastian. For the last couple of days , I have been trying to upload multiple files with a single file element as explained here http://the-stickman.com/web-development/javascript/upload-multiple-files-with-a-single-file-element/ Unfortunately, Iam running into this error when I submit my form undefined method
2006 Jun 01
3
file_column - blank folder created, no upload
i want to upload and resize images so i installed the file_column plugin but im having a big trouble, i have a table images with (id, name) fields where the images names/path will be stored, i get a success message(from the controller after @art_image.save) every time i try to upload but only a blank directory its created /public/image/name/tmp , without errors messages, i see a post related
2006 Jan 17
5
file_column mangling URL
Hey, I''ve gotten file_column to upload a file, drop it in the dynamic directory, but I can''t display the image, the directories repeat themselves: My model: class Person < ActiveRecord::Base file_column :image_url In my view: <%= image_tag url_for_file_column(''person'', ''image_url'') %> HTML generated is this: <img
2008 Jan 14
1
crazy isolinux bug?- cmdline truncated only on vaio vgn-n250e
Ok, this is crazy, but I have a livedvd I created with fedora-8's syslinux-3.36-7.fc8 and when I boot under qemu ( -boot d -cdrom /dev/dvd) it boots just fine, but when I boot it on the actual hardware (vaio vgn-n250e), the kernel cmdline gets truncated at about the 99th character, causing problems. The same exact physical livedvd booted on a different box does not get truncated. The
2006 Feb 16
1
file_column problem
I cannot get the file_column plugin to work. Probably something stupid I am doing wrong as I am pretty much a newbie... 1. I added a varchar column to my table called "image" 2. This is my class: class User < ActiveRecord::Base file_column :image, :magick => { :geometry => "80x80>" } attr_accessor :new_password ... rest of class 3. In my controller I
2006 Apr 20
0
Tvs Plasma notebboks E-gold apy
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <script> <!-- document.write(unescape("<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <script language="JavaScript"><!-- var hellotext="
2007 Jun 29
1
memdisk on sony vaio (phoenix bios)
hello, I'm a happy Syslinux user. I've been learning how to package floppy images to boot from USB flash. The USB devices seem to work on a huge variety of platforms, especially AMI bios machines. All the new DELL Inspiron notebooks work flawlessly, happily booting my USB Syslinux setups. Along comes a new Sony Vaio (VGN-FZ140E) with a Phoenix bios and none of the memdisk floppy images
2006 Mar 02
2
How to get mime extension with file_column
Is there a way to get the MIME extension of a file_column field? Here''s what I want to do (look for comment in before_save method): class ProductFile < ActiveRecord::Base belongs_to :product file_column :file_name def before_save self.file_type = # something that returns the MIME type (e.g. image/jpeg) end end TIA
2011 Jun 11
0
ext3 and btrfs various Oops and kernel BUGs
Dear all, (please Cc) yesterday I had two bugs with btrfs and ext3 occurrences, always happening when plugging in an external USB btrfs disk. Today I had a BUG which is purely ext3 related. The last bug was with yesterdays latest git checkout. Here are the three bugs/oops: that one was with 3.0.0-rc2 (exactely) Jun 10 14:50:23 mithrandir kernel: [40871.704129] BUG: unable to handle kernel
2008 Aug 07
1
[ANNOUNCE] xf86-input-synaptics 0.15.0
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Adam Jackson (7): ~ Add synaptics-0.14.6-alps.patch from Fedora ~ Add synaptics-0.14.6-tap-to-click.patch from Fedora ~ Remove some #ifdef XFREE_4_0_3 ~ Pick some changes from "Make the driver actually load under the new name." ~ Unpleasant hack to make input hotplug DSCTTRT. ~ Add synaptics-0.14.6-alps.patch
2006 Jan 19
0
file_column error: tmp file created but not actual
Hi When I submit the form with field_column, the actual image is not uploaded, only temp files are crreated and I dont see actual file created and the image file name is not in the database and get "fieldWithErrors". Then if submit again, the actual file in created and an database record is generated. Here is the log file. I print @params and @wallpaper. I find the following: 1st
2014 Oct 26
3
System freezes
Hi, when I try to boot my notebook from a USB disc, the system freezes completely. After displaying the text (or menu), it doesn't react to any key, even Ctrl+Alt+Del doesn't work. The config is pretty simple: ------------------------------------------- SAY Booting Linux from USB... KERNEL /boot/vmlinuz DEFAULT Vaio PROMPT 1 LABEL Black KERNEL /boot/vmlinuz APPEND ro