parent
432b77e40d
commit
81a9c5f022
|
@ -79,7 +79,7 @@ Usage
|
||||||
an AR model instance. Impressionist will automatically log the Model name
|
an AR model instance. Impressionist will automatically log the Model name
|
||||||
(based on action_name) and the id (based on params[:id]), but in order to
|
(based on action_name) and the id (based on params[:id]), but in order to
|
||||||
get the count of impressions (example: @widget.impression_count), you will
|
get the count of impressions (example: @widget.impression_count), you will
|
||||||
need to make your model impressionalble
|
need to make your model impressionable
|
||||||
|
|
||||||
class Widget < ActiveRecord::Base
|
class Widget < ActiveRecord::Base
|
||||||
is_impressionable
|
is_impressionable
|
||||||
|
|
Loading…
Reference in New Issue