I followed this page step-by-step Micropost's comments on users page (Ruby on Rails)
then I looked into my error that I'm getting here form_for , undefined method name
I ran "rails generate migration add_comment_content_to_micropost comment_content:text" then ran "rake db:migrate"
However, I'm still getting the undefined method `comment_content'error
NoMethodError in Users#show
Showing C:/app/views/shared/_comment_form.html.erb where line #4 raised:
undefined method `comment_content' for #<Comment:0x4fe56b8>
Here's the section where the column is from schema.db
create_table "microposts", :force => true do |t|
t.string "content"
t.integer "user_id"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
t.text "commentcontent"
t.text "comment_content"
end