Sha256: 014ff8f42fae7a15bf80feb0fbc9480206dee1682c6fcbafdd525933b451feb2

Contents?: true

Size: 398 Bytes

Versions: 15

Compression:

Stored size: 398 Bytes

Contents

module Phcscriptcdnpro
  class Script::Extension < ApplicationRecord

    # Clean URL Initialize
    extend FriendlyId

    # URLs & Extensions (None Nested)
    has_many :listings, class_name: 'Phcscriptcdnpro::Script::Listing', :through => :urls
    has_many :urls, class_name: 'Phcscriptcdnpro::Script::Url'

    # Clean URL Define
    friendly_id :scriptextensionname, use: :slugged

  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
phcscriptcdnpro-11.1.1 app/models/phcscriptcdnpro/script/extension.rb
phcscriptcdnpro-11.1.0 app/models/phcscriptcdnpro/script/extension.rb
phcscriptcdnpro-11.0.3 app/models/phcscriptcdnpro/script/extension.rb
phcscriptcdnpro-11.0.2 app/models/phcscriptcdnpro/script/extension.rb
phcscriptcdnpro-11.0.1 app/models/phcscriptcdnpro/script/extension.rb
phcscriptcdnpro-11.0.0 app/models/phcscriptcdnpro/script/extension.rb
phcscriptcdnpro-10.0.1 app/models/phcscriptcdnpro/script/extension.rb
phcscriptcdnpro-10.0.0 app/models/phcscriptcdnpro/script/extension.rb
phcscriptcdnpro-9.0.1 app/models/phcscriptcdnpro/script/extension.rb
phcscriptcdnpro-9.0.0 app/models/phcscriptcdnpro/script/extension.rb
phcscriptcdnpro-8.1.1 app/models/phcscriptcdnpro/script/extension.rb
phcscriptcdnpro-8.1.0 app/models/phcscriptcdnpro/script/extension.rb
phcscriptcdnpro-8.0.4 app/models/phcscriptcdnpro/script/extension.rb
phcscriptcdnpro-8.0.3 app/models/phcscriptcdnpro/script/extension.rb
phcscriptcdnpro-8.0.2 app/models/phcscriptcdnpro/script/extension.rb