Sha256: add78bea2d468d9b676858464dac9e78b3747c1f7d266f6e15a36cc54dd7e065
Contents?: true
Size: 554 Bytes
Versions: 10
Compression:
Stored size: 554 Bytes
Contents
module Phcscriptcdnpro class Script::Url < ApplicationRecord # Clean URL Initialize extend FriendlyId # Add Paper Trail has_paper_trail # Model Relationships 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
10 entries across 10 versions & 1 rubygems