app/models/landable/traffic/user_agent.rb in landable-1.13.1 vs app/models/landable/traffic/user_agent.rb in landable-1.13.2

- old
+ new

@@ -2,10 +2,10 @@ module Traffic class UserAgent < ActiveRecord::Base include Landable::TableName self.record_timestamps = false - lookup_by :user_agent, cache: 50, find_or_create: true + lookup_by :user_agent, cache: 50, find_or_create: true lookup_for :user_agent_type, class_name: UserAgentType lookup_for :device, class_name: Device lookup_for :platform, class_name: Platform lookup_for :browser, class_name: Traffic::Browser