I have followed Hartl\'s tutorial to make a ToDoList with a tagging system, also with the help of this word guide and video. However, I do not really understand how the tagging
If I understood correctly, when you click the particular tag in the list you supposed to be redirected to the page "Filtered Micropost Page" that contains all posts that include clicked tag.
From your view, microposts/index.html.erb
you're sending user to tag_path
so that's where all logic starts.
Based on ternary operator you hav on MicroPostController#index
that means your params[:tag]
is nil and you're listing all posts.
Could you please Stdout params.inspect
Cheers