How to calculate the hits of a post?

I want to calculate how many hits a post already has and store the
result to db. Any body may help me on how to do it? thanks.

check the ruby api, there is a function for this. i think is something
like increment…

Jason wrote:

I want to calculate how many hits a post already has and store the
result to db. Any body may help me on how to do it? thanks.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs