I am attempting to implement the thumbs_up voting gem on a Rails 3 app, however the instructions are unclear on the actual implementation. After requiring the gem [g
Routing Error
No route matches {:action=>"vote_up", :controller=>"microposts", :id=>nil}
this is the link I am using and assume this is where the routing isn't being specified correctly. I ran rake routes and there is a route called vote_up_micropost. Is there anything else I should look into. Thank you
here is the link I added
<%= link_to('vote for this post!',
vote_up_micropost_path(@microposts),
:method => :post) %>