Create an ApplicationRecord for models to inherit from
This is the default for Rails 5+, and also paves the way for multiple database support.
This commit is contained in:
parent
a3a95616d9
commit
a41d500b9f
45 changed files with 46 additions and 46 deletions
|
@ -20,7 +20,7 @@
|
|||
# issue_comments_user_id_fkey (user_id => users.id)
|
||||
#
|
||||
|
||||
class IssueComment < ActiveRecord::Base
|
||||
class IssueComment < ApplicationRecord
|
||||
belongs_to :issue
|
||||
belongs_to :user
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue