You’re not receiving notifications from this thread.
SQLite3::SQLException: no such column:
I'm trying to make a blogging app with rails and I'm currently trying to add a comment section. When I tried looking on one of my blogs it gave me this error.
ActiveRecord::StatementInvalid in Posts#show
SQLite3::SQLException: no such column: comments.post_id
Extracted source (around line #16):
<%= @post.comments.count %> Comments
<%= render @post.comments %>
Add a Comment:
<%= render 'comments/form' %>
I have no I idea of what's going on.