I currently have a working development site with the user model already
setup. I did however hold out on user images/avatars until the end and
am now thinking it wasn’t such a good idea.
I’m using attachment_fu with imagescience to do the uploads. I have
installed everything and setup a test scaffold following the screencast
and got that up and running without a problem.
My issue is this:
I have a user model which when a user registers (new/create action) I
want to just set his account up with the least amount of information
(username, email, and password). I don’t want the user to worry about
uploading the image at the time of registration. I’ve been trying to set
up the code so that the user can upload the image when editing his/her
profile but I’m getting different errors even though I’m following the
same logic as the screencast I previously mentioned (same exact editing
code actually). I’ve also added the necessary fields for the database
fields to the user table. But I’ve had no luck.
Does attachment_fu only work if you upload the images at the time of
using the new/create actions? There must be a way to make this work by
just editing a user. I’m sure I’m just overlooking something, any help
Let me know if there is something else you need to know. Thank you for