Hi folks, When I call url_for_file_column, the resulting url looks like "/model/image/development/1/layout9.jpg" . However, there is no "development" directory on my filesystem, and the image does not display. Has anyone else had this problem? Is there any way to fix it? Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Daniel Higginbotham wrote:> Hi folks, > > When I call url_for_file_column, the resulting url looks > like "/model/image/development/1/layout9.jpg" . However, there is > no "development" directory on my filesystem, and the image does not > display. > Has anyone else had this problem? Is there any way to fix it? > > Thanks!maybe try giving more details on this problem ----> is this only with this specific model? how does the class-attributes look like? in other uploads it doesn''t have the development dir? if you run it in production mode, does it make any differance? ? -- 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 -~----------~----~----~----~------~----~------~--~---
I fixed this on my site by making sure that the file_column plugin was installed correctly. -s Daniel Higginbotham wrote:> Hi folks, > > When I call url_for_file_column, the resulting url looks > like "/model/image/development/1/layout9.jpg" . However, there is > no "development" directory on my filesystem, and the image does not > display. > Has anyone else had this problem? Is there any way to fix it? > > Thanks!-- 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 -~----------~----~----~----~------~----~------~--~---