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