Sha256: b83895387bb75ff9d37afad6d2e6aedcfb7259a7267d0e746f187b47c8ab509a

Contents?: true

Size: 287 Bytes

Versions: 8

Compression:

Stored size: 287 Bytes

Contents

module Landable
  module Traffic
    class Visitor < ActiveRecord::Base
      include Landable::Traffic::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

8 entries across 8 versions & 1 rubygems

Version Path
landable-1.9.2 app/models/landable/traffic/visitor.rb
landable-1.9.1 app/models/landable/traffic/visitor.rb
landable-1.9.0 app/models/landable/traffic/visitor.rb
landable-1.9.0.rc2 app/models/landable/traffic/visitor.rb
landable-1.9.0.rc1 app/models/landable/traffic/visitor.rb
landable-1.8.0 app/models/landable/traffic/visitor.rb
landable-1.7.1.rc1 app/models/landable/traffic/visitor.rb
landable-1.7.0 app/models/landable/traffic/visitor.rb