def create @post = Post.find(params[:post_id]) @comment = @post.comments.create(params[:comment]) @comment.user_id << logged_in_user.id