Jai Jai wrote:> i ve done image/file upload in database as well as in image/file
> folder...& i can able to update the existing files/images in database
> ...but i cant able to unlink the old files/images in folder whilke
> update...pls help me...
sorry i cant understand your english or query, if you save your image
data in database why you still need save image folder describtion in
table too? unless you save your image in host with folder, you maybe
need to save image folder location in database like you use RMagick. if
you want update image folder link you only put value (new folder
name)when update data in controller or if you dont like old folder name
just delete it.
Reinhart
http://teapoci.blogspot.com
--
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
-~----------~----~----~----~------~----~------~--~---