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 -- Posted via http://www.ruby-forum.com/.
Hmmm... Have you uploaded any images yet? Did you include the file_column :file call in your Image model? =Will Damien Timewell 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-- Posted via http://www.ruby-forum.com/.
Will Green wrote:> Hmmm... > > Have you uploaded any images yet? > Did you include the file_column :file call in your Image model? > > => WillThe 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. -- Posted via http://www.ruby-forum.com/.