impressionist icon indicating copy to clipboard operation
impressionist copied to clipboard

Is this gem Rails 4.2 friendly? and other questions

Open marcamillion opened this issue 10 years ago • 2 comments

I have a Rails 4.2 app that I would love to use this with....can I with no compatibility issues?

Also, I am using heavy caching on my views - everytime a view is shown (given that it is a cached file and not necessarily a DB call) will this gem still work?

Also, if I wanted to track the number of times that a link is clicked...does this app capture that too?

Thanks.

marcamillion avatar Sep 06 '14 03:09 marcamillion

I can confirm that the gem works with Rails 4.2.beta2. I've updated in development and impressions are being properly recorded.

Impressions should still be created despite caching, as far as I can tell. I'd definitely suggest testing this out to ensure they're being properly counted in your database.

I do not believe the gem allows for tracking the number of clicks on a link, technically, though you may be able to track this if the destination of a link is impressionable by checking the "referrer" column for the Impression object.

djpowers avatar Oct 08 '14 16:10 djpowers

It does not work well with mongoid on Rails 4.2.3

kevin-jj avatar Jul 30 '15 23:07 kevin-jj