models inherits from ApplicationRecord
This commit is contained in:
committed by
Julian Herrero
parent
aa3e8c8458
commit
b7d9ef6377
@@ -1,4 +1,4 @@
|
||||
class Notification < ActiveRecord::Base
|
||||
class Notification < ApplicationRecord
|
||||
|
||||
belongs_to :user, counter_cache: true
|
||||
belongs_to :notifiable, polymorphic: true
|
||||
|
||||
Reference in New Issue
Block a user