I am not getting the thumbnail generated (in db or filesystem), nor
I am unclear what I’m doing wrong here.
flash[:notice] = ‘Product was successfully updated.’
redirect_to :action => ‘show’, :id => @product
else
render :action => ‘edit’
end
I saw some other posts about a bug with attachment_fu and
update_attributes. How do I ensure I"ve got the image processor
installed properly?
I apologize for jumping the gun. Re-emerging imagemagick and re-
installing “gem install rmagick” fixed the problem.
When I try to validate height and width in my image model (which is
using attachement_fu) it fails validation. Yet when I examine the
database, those fields are properly filled in. I’ve removed the
validation for now, yet this bothers me. I guess attachment_fu must
have overridden the model save! method but I don’t see where this
happens. Any clues would be appreciated.
Is there a way to validate that the image processor is installed
correctly? I find that generating thumbnails simply hangs, so I’ve
turned that off while I work on other parts of the project.
I’m developing on windows xp and rails 2.0.2. Are there any mods or
updates needed for rails 2.0.2?
I’m developing on windows xp and rails 2.0.2. Are there any mods or
updates needed for rails 2.0.2?
fredistic
There is a bug I saw people talk about where you need to add a sleep
1, before you load the picture to your model. Try searching this list
for “attachment_fu windows bug”
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.