Sha256: d6ed1ecba4ff25069c89cdbf30f6e05340b7243981c2aabaaf01db976c8cbada

Contents?: true

Size: 223 Bytes

Versions: 8

Compression:

Stored size: 223 Bytes

Contents

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

      lookup_by :mime_type, cache: 50, find_or_create: true

      has_many :page_views
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

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