[Rails] Re: attachment_fu + :path_prefix

2009-07-30 Thread Sijo Kg
Give :storage => :file_system, :path_prefix => "public/user_#{current_user.id}" Sijo -- 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 po

[Rails] Re: attachment_fu + :path_prefix

2009-07-30 Thread Abhishek shukla
Ok great things are working fine. but again i have a major concern when I am declaring it like :path_prefix => "public/user_#{current_user.id}" in background it save the image in the following folder structure "public/user_/123/_image.jpg" And i am looking something like "public/user_123/_ima

[Rails] Re: attachment_fu + :path_prefix

2009-07-30 Thread Sijo Kg
:path_prefix => "public/#{current_user.id}" -- 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-tal

[Rails] Re: attachment_fu + :path_prefix

2009-07-30 Thread Sijo Kg
> 'public/uploads' i want a dyname path for e.g :path_prefix => 'public/#{ > current_user.id}', Have you tried this like :path_prefix => "public/#{> current_user.id}" Instead of single quotes use double quotes Sijo -- Posted via http://www.ruby-forum.com/. --~--~-~--~~