[Rails] Re: Changing the :path and :url options of has_attached_file in paperclip

2010-02-18 Thread @shaan
Hello Pat, It worked out with a charm :-) Thanks a ton for the solution... love-n-peace, @shaan 'Aal izz well' :-) -- 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-t...@googlegroups.com. To

[Rails] Re: Changing the :path and :url options of has_attached_file in paperclip

2010-02-16 Thread Pat Shaughnessy
Probably you need to add a corresponding route + controller action to handle the download requests. I wrote a tutorial a while back on this: http://patshaughnessy.net/2009/5/16/paperclip-sample-app-part-2-downloading-files-through-a-controller - pat http://patshaughnessy.net On Feb 15, 10:10 

[Rails] Re: Changing the :path and :url options of has_attached_file in paperclip

2010-02-15 Thread @shaan
Hello Philip, I have tried this, but unfortunately it has not worked. I can only see the image file name with a cross icon, but the image can't be seen. Some additional information - in the log, I can see this error (just in case it helps): ActionController::RoutingError (No route matches