Displaying 2 results from an estimated 2 matches for "tempuploadedfile".
2006 Feb 24
0
Re: file_column on windows?
...x:
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)
content_type
end
But when I try this, I get:
undefined local variable or method `content_type'' for
#<FileColumn::TempUploadedFile:0x370f9a8>
Obviously, I am doing something wrong... any help would be appreciated.
2006 Jan 19
0
file_column error: tmp file created but not actual
...;=>"studio"}
wallpaper.error++++++++++++++++++++++++
#<Wallpaper:0x40a37d24
@errors=#<ActiveRecord::Errors:0x40a053ec
@errors={"image"=>["invalid image", "invalid image"]},
@base=#<Wallpaper:0x40a37d24 ...>>,
@image_state=#<FileColumn::TempUploadedFile:0x40a14978
@filename="Chic_Skype.jpg", @attr="image",
@tmp_dir="1137655234.461399.9849",
@instance=#<Wallpaper:0x40a37d24 ...>,
@magick_errors=["invalid image"],
@dir="script/../config/../public/wallpaper/image/tmp/1137655234.461399.9849",
@ju...