app/models/phcscriptcdn/script/author.rb in phcscriptcdn-3.3.3 vs app/models/phcscriptcdn/script/author.rb in phcscriptcdn-4.0.0

- old
+ new

@@ -1,10 +1,10 @@ module Phcscriptcdn class Script::Author < ApplicationRecord # Relationships - # Attach to Listings - belongs_to :listing, class_name: 'Phcscriptcdn::Script::Listing' + # Listing (None Nested) + has_many :listings, class_name: 'Phcscriptcdn::Script::Listing' end end