# Can't upload certain files with file\_column

**URL:** <https://www.ruby-forum.com/t/cant-upload-certain-files-with-file-column/89402>\
**Category:** Rails\
**Created:** [March 20, 2007, 6:26am UTC](https://www.ruby-forum.com/t/cant-upload-certain-files-with-file-column/89402 "2007-03-20T06:26:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![taylorstrait](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b5a626/32.png) [@taylorstrait](https://www.ruby-forum.com/u/taylorstrait)\
**Post date:** [March 20, 2007, 6:26am UTC](https://www.ruby-forum.com/t/cant-upload-certain-files-with-file-column/89402/1 "2007-03-20T06:26:17Z")

</div>

This is in a development environment. I can upload most pics but  
sometimes rails just craps out with:

â€ Errno::ENOENT in ImagesController#newâ€

The file size or type doesn’t seem directly linked to this error.  
What’s going on?

---

<div class="post-metadata">

**Author:** ![taylorstrait](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b5a626/32.png) [@taylorstrait](https://www.ruby-forum.com/u/taylorstrait)\
**Post date:** [March 20, 2007, 10:25am UTC](https://www.ruby-forum.com/t/cant-upload-certain-files-with-file-column/89402/2 "2007-03-20T10:25:20Z")

</div>

i struggled with file\_column for a while then started using  
acts\_as\_attachment which made my life much easier…

---

<div class="post-metadata">

**Author:** ![taylorstrait](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b5a626/32.png) [@taylorstrait](https://www.ruby-forum.com/u/taylorstrait)\
**Post date:** [March 20, 2007, 3:57pm UTC](https://www.ruby-forum.com/t/cant-upload-certain-files-with-file-column/89402/3 "2007-03-20T15:57:15Z")

</div>

Ivor P. wrote:

> i struggled with file\_column for a while then started using  
> acts\_as\_attachment which made my life much easier…

Thanks. Everyone seems to say that so I guess I will have to recode…

---

<div class="post-metadata">

**Author:** ![taylorstrait](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b5a626/32.png) [@taylorstrait](https://www.ruby-forum.com/u/taylorstrait)\
**Post date:** [March 20, 2007, 4:47pm UTC](https://www.ruby-forum.com/t/cant-upload-certain-files-with-file-column/89402/4 "2007-03-20T16:47:18Z")

</div>

Taylor S. wrote:

> Ivor P. wrote:
> 
> > i struggled with file\_column for a while then started using  
> > acts\_as\_attachment which made my life much easier…
> 
> Thanks. Everyone seems to say that so I guess I will have to recode…

I tried the upload\_column plugin and it works a treat for me ona  
commercial site. Search RubyForge for it and if you need help  
implementing it post back because I have a working example in an archive  
I can pass on to you. I spoke to the author about several issues I had  
and we managed to work them out. I had to extrapolate the uploading  
parts into a simple project, so I offered this as a working exampel for  
anyone interested.
