impressionist

Unable to add Impressionist model to Solr

℡╲_俬逩灬. 提交于 2019-12-25 08:03:23
问题 To keep track of unique views I added impressionist gem. The impressions table will grow at a faster rate due to higher traffic. This will cause problems later when I want to show a comparison between consecutive weeks/months. So I thought of linking impression's model with solr . To implement this I first created a model named impression under app/models/impression.rb folder. class Impression < ActiveRecord::Base attr_accessible :user_id, :ip_address, :action_name, :controller_name,