well ive been trying to get either this plugin or acts_as_attachment to
work with my application, and neither have had any success. im going
back to looking for help with file_column, ive tried acts_as_attachment
all weekend, but im not getting any meaningful errors to help fix it,
and my application wont even start. file_column is also giving me
problems, but at the same time, I can at least access my application
and use it properly, the only time I have a problem with file_column is
when it needs to do anything with RMagick it seems. I can upload an
image fine simply by declaring file_column :filename in my model, but
when I goto add something like :geometry => it errors out with an ugly
ImageMagick error thing.
This is the code in my model:
file_column :filename, :magick => { :geometry => “640x480>” }
This is the error im getting below.
NameError in Admin/biographiesController#update
uninitialized constant ImageMagickError
This error occured while loading the following files:
magick/image_magick_error.rb
PLEASE ask for more logs and try to be specific what I should be
looking for so I know what to include, im still new to this all, so im
not always 100% what I need to be doing all of the time…
The form is multipart, the fields are all working properly, but as soon
as I try to add the geometry / magick I get the error above.
I have successfully installed ImageMagick, and rmagick. I did the
convert logo.miff / imdisplay logo.miff thing and it worked properly, I
also did the examples in the rmagick gem folder, and those also worked
properly. I just used the basic install of ImageMagick, and told it to
update the executable search paths… but if I need to manually set any
paths then I havent done that at all, so let me know about that as
well.
sorry about the huge message… but im running out of options here and I
have no idea what on earth is causing it… espically since everyone
else seems to get these working without any problems…
Thanks!!!