Adding voting system

Hi

User when creating a post in blog adds voting, specifies items for voting, while others can vote and see the results.

Maybe who have this in projects and can me show code, how you implement in your project. Or explain me, how can i do it?

Thanks for advance

I have not built a voting system but googling for
rails voting gem
yields a number of gems and links that look as if they might be useful to you.

Colin

Active Record Reputation System gem
https://rubygems.org/gems/activerecord-reputation-system/versions/3.0.1

http://railscasts.com/episodes/364-active-record-reputation-system

Hope this helps…

I know this gem. I cant undestand, how me add voting together with creating new post.