app/models/phcscriptcdn/script/url.rb in phcscriptcdn-3.3.3 vs app/models/phcscriptcdn/script/url.rb in phcscriptcdn-4.0.0
- old
+ new
@@ -1,16 +1,16 @@
module Phcscriptcdn
class Script::Url < ApplicationRecord
# Relationships
- # Attach to Listings
+ # Attach to Listings (Nested)
belongs_to :listing, class_name: 'Phcscriptcdn::Script::Listing'
- # Attach to Version
+ # Attach to Version (None Nested)
belongs_to :version, class_name: 'Phcscriptcdn::Script::Version'
- # Attach to Extensions
+ # Attach to Extension (None Nested)
belongs_to :extension, class_name: 'Phcscriptcdn::Script::Extension'
end
end