code for counting number of hits in ruby on rails application

i want to know the code for counting number of hits in my ruby on rails application : conditions are it should not increment when a refresh action is executed. And it should be incremented by 1 only when clicked by a unique MAC address


I dont think it is possible to get mac ids

Retrieving client system information from a Rails application

Try some analytics to get unique visitors details.

This can't be done using Rails Application, but you can do this using AWStats.

This will give more detailed statistical information based on Host IP, Country, Browsers, etc,.

Need Your Help

Generate a random word from an array and then print it to the console log in a function in javascript

javascript arrays function console

I am creating hangman in javascript and I have (I think) successfully generated a random word from an array in a function, to check if it works I am trying to print the generated word in to the con...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.