app/models/phcscriptcdnpro/script/version.rb in phcscriptcdnpro-11.1.1 vs app/models/phcscriptcdnpro/script/version.rb in phcscriptcdnpro-11.2.0
- old
+ new
@@ -2,10 +2,13 @@
class Script::Version < ApplicationRecord
# Clean URL Initialize
extend FriendlyId
- # Attach to Listing (None Nested)
+ # Add Paper Trail
+ has_paper_trail
+
+ # Model Relationships
has_many :listings, class_name: 'Phcscriptcdnpro::Script::Listing'
# Attach to URL (None Nested)
has_many :urls, class_name: 'Phcscriptcdnpro::Script::Url'