app/models/phcscriptcdn/script/version.rb in phcscriptcdn-3.3.3 vs app/models/phcscriptcdn/script/version.rb in phcscriptcdn-4.0.0
- old
+ new
@@ -1,13 +1,13 @@
module Phcscriptcdn
class Script::Version < ApplicationRecord
- #Relationships
+ # Relationships
- # URL Un-Nested
- has_many :urls, class_name: 'Phcscriptcdn::Script::Url'
-
- # Listing Un-Nested
+ # Attach to Listing (None Nested)
has_many :listings, class_name: 'Phcscriptcdn::Script::Listing'
+
+ # Attach to URL (None Nested)
+ has_many :urls, class_name: 'Phcscriptcdn::Script::Url'
end
end