Sha256: d9a46d46eb85c410d97fd569ecdc8c1b4f4348a8405d4ee41aca45552a57167c

Contents?: true

Size: 519 Bytes

Versions: 15

Compression:

Stored size: 519 Bytes

Contents

module Phcscriptcdnpro
  class Script::Url < ApplicationRecord

    # Clean URL Initialize
    extend FriendlyId

    # Attach to Listings (Nested)
    belongs_to :listing, class_name: 'Phcscriptcdnpro::Script::Listing'

    # Attach to Version (None Nested)
    belongs_to :version, class_name: 'Phcscriptcdnpro::Script::Version'

    # Attach to Extension (None Nested)
    belongs_to :extension, class_name: 'Phcscriptcdnpro::Script::Extension'


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

  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

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