Sha256: 47f24bdbd9e096e758cf6d3998c4b00d8abc58bf4772f171a8796b498b644c95

Contents?: true

Size: 221 Bytes

Versions: 6

Compression:

Stored size: 221 Bytes

Contents

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

      lookup_by :country, cache: true, find_or_create: true

      has_many :locations
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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