Advertisement
Guest User

Untitled

a guest
Mar 31st, 2015
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. [2015-02-03T12:53:32.219793 #6360] INFO -- : Processing by AttachmentsController#index as HTML
  2. E, [2015-02-03T12:53:32.235112 #6360] ERROR -- : PG::UndefinedTable: ERROR: relation "attachments" does not exist
  3. LINE 1: SELECT "attachments".* FROM "attachments"
  4. ^
  5. : SELECT "attachments".* FROM "attachments"
  6. I, [2015-02-03T12:53:32.241973 #6360] INFO -- : Rendered attachments/index.html.erb within layouts/application (13.2ms)
  7. I, [2015-02-03T12:53:32.242450 #6360] INFO -- : Completed 500 Internal Server Error in 22ms
  8. F, [2015-02-03T12:53:32.244796 #6360] FATAL -- :
  9. ActionView::Template::Error (PG::UndefinedTable: ERROR: relation "attachments" does not exist
  10. LINE 1: SELECT "attachments".* FROM "attachments"
  11. ^
  12. : SELECT "attachments".* FROM "attachments"):
  13. 10: </tr>
  14. 11: </thead>
  15. 12: <tbody>
  16. 13: <% @attachments.each do |attachment| %>
  17. 14: <tr>
  18. 15: <td><%= attachment.filename %></td>
  19. 16: <td><%= button_to 'Download', attachment, method: :get %></td>
  20. app/views/attachments/index.html.erb:13:in `_app_views_attachments_index_html_erb__1852288583106745
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement