app/models/mailkick/opt_out.rb in mailkick-0.3.1 vs app/models/mailkick/opt_out.rb in mailkick-0.4.0

- old
+ new

@@ -1,7 +1,7 @@ module Mailkick class OptOut < ActiveRecord::Base self.table_name = "mailkick_opt_outs" - belongs_to :user, ActiveRecord::VERSION::MAJOR >= 5 ? {polymorphic: true, optional: true} : {polymorphic: true} + belongs_to :user, polymorphic: true, optional: true end end