app/models/phcscriptcdn/script/extension.rb in phcscriptcdn-3.0.0.pre.beta vs app/models/phcscriptcdn/script/extension.rb in phcscriptcdn-3.0.0
- old
+ new
@@ -1,4 +1,8 @@
module Phcscriptcdn
- class Script::Extension < ApplicationRecord
- end
+ class Script::Extension < ApplicationRecord
+
+ # URL Un-Nested
+ has_many :urls, class_name: 'Phcscriptcdn::Script::Url'
+
+ end
end