I've got an application which I am developing on a Windows machine and
everything works just fine. Once I upload it on my server (Debian) and
test it I get following error:
ActionView::TemplateError (undefined local variable or method `filename'
for #<News:0x41105540>) on line #8 of news/index.html.erb:
7: <td class="news_table_pic">
8: <%= image_tag(news.public_filename)
9: Erstellt am <%=
10: von <%=h news.author %>
I'm using attachment_fu.
Anyone knows why it doesn't work on my debian machine?