NoMethodError in Posts#show Showing /Users/kennyvb/GitHub/frakklerne/app/views/posts/show.html.erb where line #20 raised: undefined method `each' for /uploads/post/image/3/Dirloads_IMG_0097.PNG_MB.png:PostimageUploader Extracted source (around line #20): 17: 18:

Tags: <%= raw @post.tag_list.map { |t| link_to t, tag_path(t) }.join(', ') %>

19: 20: <% @post.image.each do |image| %> 21: 22: <%= link_to (image_tag (post.image_url(:thumb))), post.image.url(:original), :class => 'postimage' %> 23: Rails.root: /Users/kennyvb/GitHub/frakklerne Application Trace | Framework Trace | Full Trace app/views/posts/show.html.erb:20:in `_app_views_posts_show_html_erb___1683756060285621274_70167645681440' app/controllers/posts_controller.rb:20:in `show' Request Parameters: {"id"=>"mit-forste-indlaeg"}