Sha256: 57c2f5c7b36f02d848eea4411bb7148802bbccd4d656fac72f35492944ce7e14

Contents?: true

Size: 395 Bytes

Versions: 3

Compression:

Stored size: 395 Bytes

Contents

module Gluttonberg
  class AssetMimeType < ActiveRecord::Base
      self.table_name = "gb_asset_mime_types"

      belongs_to :asset_type, :class_name => "AssetType"
      
      validates_uniqueness_of :mime_type
      attr_accessible :mime_type, :asset_type_id

      # Included mixins which are registered by host app for extending functionality
      MixinManager.load_mixins(self)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gluttonberg-core-3.0.2 app/models/gluttonberg/asset_mime_type.rb
gluttonberg-core-3.0.1 app/models/gluttonberg/asset_mime_type.rb
gluttonberg-core-3.0.0 app/models/gluttonberg/asset_mime_type.rb