Sha256: 151b5c7f7e64ab3cd37b9e5a6c631c391636091cba9b92ef450d83cdbfe63bc4
Contents?: true
Size: 629 Bytes
Versions: 7
Compression:
Stored size: 629 Bytes
Contents
module Phcscriptcdn class Script::Url < ApplicationRecord # Clean URLS extend FriendlyId # Attach to Listings (Nested) belongs_to :listing, class_name: 'Phcscriptcdn::Script::Listing' # Attach to Version (None Nested) belongs_to :version, class_name: 'Phcscriptcdn::Script::Version' # Attach to Extension (None Nested) belongs_to :extension, class_name: 'Phcscriptcdn::Script::Extension' # Validation for Form Fields validates :scripturl, presence: true validates :scripturlrelease, presence: true validates :scripturlcdnupdate, presence: true end end
Version data entries
7 entries across 7 versions & 1 rubygems