Sha256: ddd3ab28980fc8381f599517517806e9ab72c146a87154363395c2fda29b926a

Contents?: true

Size: 214 Bytes

Versions: 10

Compression:

Stored size: 214 Bytes

Contents

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

      lookup_by :ip_address, cache: 50, find_or_create: true

      has_many :visitors
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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