app/models/phcscriptcdnpro/scriptcdn/scripturl.rb in phcscriptcdnpro-1.2.2 vs app/models/phcscriptcdnpro/scriptcdn/scripturl.rb in phcscriptcdnpro-1.3.0
- old
+ new
@@ -1,9 +1,9 @@
module Phcscriptcdnpro
class Scriptcdn::Scripturl < ActiveRecord::Base
# Relationships
- belongs_to :scriptversion
+ belongs_to :scriptversion, class_name: 'Script::Version'
# Validation for Form Fields
validates :scrpturlphc,
uniqueness: true,
presence: true,