Sha256: 8be2192e59fb99969af8c09858cd30f68bbc3df8ef08b0c81d1aa30acbb62a27

Contents?: true

Size: 619 Bytes

Versions: 15

Compression:

Stored size: 619 Bytes

Contents

module Phcscriptcdnpro
  class Script::Listing < ApplicationRecord

    # Clean URL Initialize
    extend FriendlyId

    # Attach to URL (Nested)
    has_many :urls, class_name: 'Phcscriptcdnpro::Script::Url'

    # Attach to Author (None Nested)
    belongs_to :author, class_name: 'Phcscriptcdnpro::Script::Author'

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

    # Attach to Licence (None Nested)
    belongs_to :licence, class_name: 'Phcscriptcdnpro::Script::Licence'

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

  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

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