🐬 sweet like bubblegum#

ruby on rails

this is kat's blog. i wrote this based on the rails first app guide and then i added stuff. it's a fucking mess here don't use this code

site to-do list#

  • style the sign-in page
  • make tags not a drop down. figure it out idk
  • make the post page less shit (i don't really care that much about this one but at least resize the text boxes that's annoying)

completed to-do stuff#

  • make tags actually functional because i started adding them in prod like a fucking dumbass, got stuck, and never finished it because i was stuck and frustrated

mini rails console command cheatsheet for me:#

new tags:

t = Tag.new(:name => 'tutorial')

t.save!

t = Tag.find_by(name: "tutorial")

add tag to article:

t = Tag.find_by(name: "tutorial")

t.articles << Article.find_by(id:"1")