How to make read-times counter

uhm ...

add a "times_read" integer column to your articles table

in your controller, you add something like this:

#controller def show   @post = Post.find params[:id]   @post.increment!("times_read")

   ... rest of your code ...

end

#view

This Post has been read <%= @post.times_read %> times