Indu RS wrote:> Hai
> I am using upload_column for uploading images. Trying to do the user
> registration. For the first time when the user tries to upload image it
> works fine. But when try to update the image an error
> undefined method `process!'' for
#<UploadColumn::UploadedFile:0x6838424>
> occurs.
> in my view I set the :multipart=>true.
> and in controller in the edit action @user = User.find(params[:id])
> and in update action @user.update_attributes(params[:user]). Do I need
> to add anything more?
> Please help , thanks in advance
The above problem was solved by installing RMagick, and then only we can
specify versions like thumb, large in model.rb file. If we haven''t
installed rmagick properly the error will occur at the time when we are
trying to change the image uplaoded (ie at the time of editing).
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---