search for: permanentuploadedfil

Displaying 4 results from an estimated 4 matches for "permanentuploadedfil".

Did you mean: permanentuploadedfile
2005 Nov 18
10
[Request] file_column configurability
I wasn''t sure where to email this request, so I am hoping the author of file_column actually sees this. I was wondering if there were any plans to allow some configurability in the file_column plugin. By configurability I mean allowing the developer to define which table column is used as the unique identifier when creating image folders. Right now it seems like it uses the ID of the
2006 Jul 03
1
staying in control over the case in file_column plugin
...d IMG0001.JPG, I get files similarly named IMG0001-thumb.JPG, etc. but if I upload img00002.jpg, I get files img00002-thumb.jpg, etc. This is tacky in terms of my counting on a consistency when implementing views. My inclination is to start hacking away at this section of file_column.rb: class PermanentUploadedFile < RealUploadedFile # :nodoc: def initialize(*args) super *args @dir = File.join(store_dir,@instance.id.to_s) @filename = @instance[@attr] @filename = nil if @filename.empty? end something like @filename = @instance.lower[@attr] instead of @filename =...
2006 Mar 26
10
How to delete a uploaded file with file_column plugin?
Hi, sounds somehow stupid, but I can''t get rid of my files that I uploaded into my application via the file_column plugin. Any suggestions? Cheers Thomas -- Posted via http://www.ruby-forum.com/.
2006 Jan 19
0
file_column error: tmp file created but not actual
...ot;action"=>"create_wallpaper", "controller"=>"studio"} wallpaper. wallpaper++++++++++++++++++++++++ #<Wallpaper:0x408914e8 @errors=#<ActiveRecord::Errors:0x40886228 @errors={}, @base=#<Wallpaper:0x408914e8 ...>>, @image_state=#<FileColumn::PermanentUploadedFile:0x4086dcdc @filename="Chic_Skype.jpg", @attr="image", @instance=#<Wallpaper:0x408914e8 ...>, @dir="script/../config/../public/wallpaper/image/9", @just_uploaded=nil, @options_method=:image_options>, @attributes={"downloads"=>"0", "...