count the hits on page

Hi,

I want to count the hits on my web site. how to do this by using ror
application

I think using Google Analytics service is easier than programming a
custom solution...