app/models/subscription.rb in enju_library-0.3.3 vs app/models/subscription.rb in enju_library-0.3.4
- old
+ new
@@ -1,5 +1,5 @@
-class Subscription < ActiveRecord::Base
+class Subscription < ApplicationRecord
has_many :subscribes, dependent: :destroy
has_many :works, through: :subscribes
belongs_to :user, validate: true
if defined?(EnjuPurchasRequest)
belongs_to :order_list, validate: true