Sha256: cc216afb644501cd819fd4fb9740b924e7cbff42c2f0c9c1db852e244a96aa56

Contents?: true

Size: 336 Bytes

Versions: 10

Compression:

Stored size: 336 Bytes

Contents

module Phcscriptcdnpro
	class Scriptcdn::Scriptversion < ActiveRecord::Base

		# Relationships
		belongs_to :script, class_name: 'Script::Main'
		has_many :scripturls, class_name: 'Script::Url'

		# Validation for Form Fields
		validates :scrptversionpakname,
			uniqueness: true,
			presence: true,
			length: { minimum: 3 }

	end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
phcscriptcdnpro-1.4.1 app/models/phcscriptcdnpro/scriptcdn/scriptversion.rb
phcscriptcdnpro-1.4.0 app/models/phcscriptcdnpro/scriptcdn/scriptversion.rb
phcscriptcdnpro-1.3.8 app/models/phcscriptcdnpro/scriptcdn/scriptversion.rb
phcscriptcdnpro-1.3.7 app/models/phcscriptcdnpro/scriptcdn/scriptversion.rb
phcscriptcdnpro-1.3.6 app/models/phcscriptcdnpro/scriptcdn/scriptversion.rb
phcscriptcdnpro-1.3.5 app/models/phcscriptcdnpro/scriptcdn/scriptversion.rb
phcscriptcdnpro-1.3.4 app/models/phcscriptcdnpro/scriptcdn/scriptversion.rb
phcscriptcdnpro-1.3.3 app/models/phcscriptcdnpro/scriptcdn/scriptversion.rb
phcscriptcdnpro-1.3.1 app/models/phcscriptcdnpro/scriptcdn/scriptversion.rb
phcscriptcdnpro-1.3.0 app/models/phcscriptcdnpro/scriptcdn/scriptversion.rb