app/models/guts/tracker.rb in guts-1.0.8 vs app/models/guts/tracker.rb in guts-1.1.0

- old
+ new

@@ -1,7 +1,12 @@ module Guts # Tracker model class Tracker < ActiveRecord::Base + include MultisiteScopeConcern + + belongs_to :site belongs_to :object, polymorphic: true serialize :params, JSON + + default_scope { order(created_at: :desc) } end end