Sha256: 7af9b13969d13922ddf08e58571d231d41c952d18c2d17311704d83de19f0c23

Contents?: true

Size: 278 Bytes

Versions: 10

Compression:

Stored size: 278 Bytes

Contents

module Landable
  module Traffic
    class Visitor < ActiveRecord::Base
      include Landable::TableName

      lookup_for :ip_address, class_name: IpAddress
      lookup_for :user_agent, class_name: UserAgent

      has_many :accesses
      has_many :visits
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
landable-1.14.0 app/models/landable/traffic/visitor.rb
landable-1.13.2 app/models/landable/traffic/visitor.rb
landable-1.13.1 app/models/landable/traffic/visitor.rb
landable-1.12.3 app/models/landable/traffic/visitor.rb
landable-1.12.2 app/models/landable/traffic/visitor.rb
landable-1.12.1 app/models/landable/traffic/visitor.rb
landable-1.11.1 app/models/landable/traffic/visitor.rb
landable-1.11.0 app/models/landable/traffic/visitor.rb
landable-1.10.0.rc2 app/models/landable/traffic/visitor.rb
landable-1.10.0.rc1 app/models/landable/traffic/visitor.rb