Sha256: f01f6cf5ff73a14d7f63ed23e19f0019253de4955a9ac9c6b2bedc3876091125
Contents?: true
Size: 407 Bytes
Versions: 15
Compression:
Stored size: 407 Bytes
Contents
module Phcscriptcdnpro class Script::Version < ApplicationRecord # Clean URL Initialize extend FriendlyId # Attach to Listing (None Nested) has_many :listings, class_name: 'Phcscriptcdnpro::Script::Listing' # Attach to URL (None Nested) has_many :urls, class_name: 'Phcscriptcdnpro::Script::Url' # Clean URL Define friendly_id :scriptversion, use: :slugged end end
Version data entries
15 entries across 15 versions & 1 rubygems