Sha256: cf1d4ecfcdba533b310a373e2f7af58c9b0c876b3d6bef9b085998f9210d2961
Contents?: true
Size: 610 Bytes
Versions: 4
Compression:
Stored size: 610 Bytes
Contents
module Phcscriptcdn class Script::Url < ApplicationRecord # Relationships # 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
4 entries across 4 versions & 1 rubygems