File_column error

Hi Everyone

I’ve been trying the file_column plug-in and have some basic examples
working. However when I repeat the install on a laptop (Win XP) I get
the following error when attempting to upload:

Errno::ENOENT in AdminController#create
No such file or directory -
c:/temp/1169548422.983000.3156/Flowers004.JPG or
RAILS_ROOT: ./script/…/config/…

Application Trace | Framework Trace | Full Trace
c:/InstantRails/ruby/lib/ruby/1.8/fileutils.rb:501:in rename' c:/InstantRails/ruby/lib/ruby/1.8/fileutils.rb:501:inmv’
fu_each_src_dest' c:/InstantRails/ruby/lib/ruby/1.8/fileutils.rb:1395:infu_each_src_dest0’
fu_each_src_dest' c:/InstantRails/ruby/lib/ruby/1.8/fileutils.rb:490:inmv’
store_upload' #{RAILS_ROOT}/vendor/plugins/file-column-0.3.1/lib/file_column.rb:118:inupload’
assign' #{RAILS_ROOT}/vendor/plugins/file-column-0.3.1/lib/file_column.rb:584:infile=’
send' c:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:1510:inattributes=’

The file is created in the directory referred to by the Windows TEMP
Environment Variable but for some reason it can’t be copied to the
file_column tmp directory!

Has anyone else seen this issue or have a solution?



Don’t use file column, use Rick O.s acts_as_attachment. Much more
used, and therefore much better tested, and it’s just better in the
first place imo.

Has anyone had any experience of migrating to acts_as_attachment from
file_column with an existing project? I have hundreds of images all
neatly resized into various folders and would need to keep them all
where they are.

I’m not averse to rewriting a little code, just not my entire


On Jan 23, 1:34 pm, “[email protected]