File Column woes

I followed this guide
http://www.fearoffish.co.uk/blog/article/file_column_and_lightbox to
make sure I’d set everything up right, but when I point my browser to
the page where I can upload a new file, I get a NoMethodError for
“undefined method `file_temp’ for #Image:0x252e254

I am so confused. It’s fallen apart and I havent even tried using
rmagick with it yet. Anyone got any ideas as to where I’m going wrong?

Thanks,
Damien

Hmmm…

Have you uploaded any images yet?
Did you include the file_column :file call in your Image model?

==
Will

Damien T. wrote:

I followed this guide
http://www.fearoffish.co.uk/blog/article/file_column_and_lightbox to
make sure I’d set everything up right, but when I point my browser to
the page where I can upload a new file, I get a NoMethodError for
“undefined method `file_temp’ for #Image:0x252e254

I am so confused. It’s fallen apart and I havent even tried using
rmagick with it yet. Anyone got any ideas as to where I’m going wrong?

Thanks,
Damien

Will G. wrote:

Hmmm…

Have you uploaded any images yet?
Did you include the file_column :file call in your Image model?

==
Will

The file_column :file bit is in my model, but I havent been able to
upload an Image because the page will not load. NoMethodError every
time.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs