Wiki articles tagged with "activerecord"

Showing 1-2 of 2 items.
3 0
4 followers
Viewed: 20 566 times
Version: 1.1
Category: How-tos

Using counters with ActiveRecord

Created 12 years ago by davi_alexandre, updated 9 years ago by marcovtwout.

Let's say, for example, that you are developing a blog or some kind of CMS and you want to track the number of times each post was viewed (maybe to show a list of the most viewed ones).

11 1
17 followers
Viewed: 44 920 times
Version: 1.1
Category: Tips