app/models/pageflow/widget.rb in pageflow-12.0.4 vs app/models/pageflow/widget.rb in pageflow-12.1.0
- old
+ new
@@ -1,6 +1,8 @@
module Pageflow
- class Widget < ActiveRecord::Base
+ class Widget < ApplicationRecord
+ include SerializedConfiguration
+
belongs_to :subject, polymorphic: true, touch: true
validates :subject, presence: true
attr_accessor :widget_type