Save 36% for Black Friday! Learn more



160 Experience
0 Lessons Completed
0 Questions Solved


Posted in 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):


<%= render @post.comments %>

Add a Comment:

<%= render 'comments/form' %>

I have no I idea of what's going on.

Posted in How do I implement a comment section into my rails app?

So I followed a tutorial on Youtube so that I could make a simple video sharing website such as Youtube itself ->
I want to inplement a comment section so that the user can input comments. I saw several videos on how to do this but it was all for blogs and not a video sharing website. It would be greatly appreciated if you check out the video to get a sense of what I'm doing better. THANKS!

Posted in Delete images with active storage in rails app?

Where do I insert the user.avatar.purge?

Posted in Delete images with active storage in rails app?

I am using this tutorial -> So I followed the Youtube video and it worked perfectly, but I want to add a feature so that the user can to delete the profile if they so choose to.

I will leave a link to all the code I used here ->

logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2020 GoRails, LLC. All rights reserved.