Sha256: a7f5cab5361e9a4f5b08a37012d5d45c5f235f676acbaaf3d8e0d1d845df12c0

Contents?: true

Size: 328 Bytes

Versions: 10

Compression:

Stored size: 328 Bytes

Contents

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

		# Relationships
		has_many :scriptversions, class_name: 'Script::Version'
		has_many :scripturls, class_name: 'Script::Url'

		# Validation for Form Fields
		validates :scrptname,
			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/script.rb
phcscriptcdnpro-1.4.0 app/models/phcscriptcdnpro/scriptcdn/script.rb
phcscriptcdnpro-1.3.8 app/models/phcscriptcdnpro/scriptcdn/script.rb
phcscriptcdnpro-1.3.7 app/models/phcscriptcdnpro/scriptcdn/script.rb
phcscriptcdnpro-1.3.6 app/models/phcscriptcdnpro/scriptcdn/script.rb
phcscriptcdnpro-1.3.5 app/models/phcscriptcdnpro/scriptcdn/script.rb
phcscriptcdnpro-1.3.4 app/models/phcscriptcdnpro/scriptcdn/script.rb
phcscriptcdnpro-1.3.3 app/models/phcscriptcdnpro/scriptcdn/script.rb
phcscriptcdnpro-1.3.1 app/models/phcscriptcdnpro/scriptcdn/script.rb
phcscriptcdnpro-1.3.0 app/models/phcscriptcdnpro/scriptcdn/script.rb