Subscribe to Sergio Tapia - Lost in the GC.        RSS Feed

Track views in your Ruby on Rails application with the Impressionist gem.

Icon Leave Comment
Here's another quickie I wrote to my benefit - I have bad memory! This helps me remember things for the future. :)

We've all been there as web developers, how do I keep track of views? How many people have seen this profile page? How many people have viewed this car listing page? You have to take into account a lot of different bits to make this work properly. From keeping bots at bay, to protecting against rogue wget trolls; it's a lot of work.

In Ruby on Rails there's a gem called Impressionist; and it let's you quickly and easily add view counters to your pages. Safely. Win-win?

I wrote a tutorial on my account showing you how to add it into an existing Rails application. Hopefully it helps you out. :)

0 Comments On This Entry


Trackbacks for this entry [ Trackback URL ]

There are no Trackbacks for this entry

0 user(s) viewing

0 Guests
0 member(s)
0 anonymous member(s)

About Me

Posted Image

Bienvenidos! I'm a USA ex-pat living in Bolivia for the past 10 years. Web development is my forte with a heavy lean for usability and optimization. I'm fluent in both English and Spanish. I guest write for the popular Python website Python Central. Visit my website.