#18 √ resolved
Avishai

restful_authentication gotcha

Reported by Avishai | June 18th, 2008 @ 11:06 PM

I just spent a long time trying to figure out why my avatar wasn't being uploaded, as I followed the instructions directly. Then I realized this gotcha (would be useful to include somewhere for newbies) -- you have to add this in your user model:

attr_accessible :avatar #or whatever your calling the attachment

otherwise it won't allow you do update it via mass-assignment.

Nice work on making image uploading really simple, though, thanks! :-)

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket