Hi I am using attachment fu plugin for uploading data. say : User has_many :photos I wanted to save the uploaded photo in the path as follows. /files/<user_id>/photos/1.jpg - while uploading first photo /files/<user_id>/photos/2.jpg - while uploading second photo 1) Is there any way to make a folder name with user id ? 2) Is there any way to rename the file in sequential order ? Thanks in advance, srikanth http://srikanthjeeva.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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.