From b74bb0ee09e266c25d56c4fda37d81a4a41984e6 Mon Sep 17 00:00:00 2001 From: cowboycoded Date: Thu, 10 Feb 2011 16:20:51 -0500 Subject: [PATCH] describe user_id implementation --- README.rdoc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.rdoc b/README.rdoc index 1e9145c..d54ea34 100644 --- a/README.rdoc +++ b/README.rdoc @@ -81,8 +81,12 @@ Get total impression count. This may return more than 1 impression per http req @widget.impression_count("2011-01-01","2011-01-02") # start date, end date @widget.impression_count("2011-01-01") #specify start date only, end date = now +Logging impressions for authenticated users happens automatically. If you have a current_user helper or use @current_user in your before_filter to set your authenticated user, current_user.id will be written to the user_id field in the impressions table. + + == Development Roadmap -TODO: create indexes for impressions table +TODO (soon): create indexes for impressions table +TODO (soon): more helpers for impression count to filter controllers, actions, messages, and user_ids * Automatic impression logging in views. For example, log initial view, and any partials called from initial view * Customizable black list for user-agents or IP addresses. Impressions will be ignored. Web admin as part of the Engine. * Reporting engine