summaryrefslogtreecommitdiff
path: root/app/models/comment.rb
diff options
context:
space:
mode:
authormo <mo.khan@gmail.com>2017-09-23 08:31:15 -0600
committermo <mo.khan@gmail.com>2017-09-23 08:31:15 -0600
commit8aae4fddb068981cbe336b0f8110b42d5ce5b5f9 (patch)
tree30bfd16d322c3069ec8b28ed5c479a140bf51aee /app/models/comment.rb
parentbfa0eed66e9b45623eb8a08fad18d90d27348203 (diff)
add application_record.
Diffstat (limited to 'app/models/comment.rb')
-rw-r--r--app/models/comment.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/comment.rb b/app/models/comment.rb
index f85bc343..208918e8 100644
--- a/app/models/comment.rb
+++ b/app/models/comment.rb
@@ -1,4 +1,4 @@
-class Comment < ActiveRecord::Base
+class Comment < ApplicationRecord
belongs_to :user
belongs_to :creation
has_many :activities, as: :subject, dependent: :destroy