Convert to ApplicationRecord

Rails 5 requires the use of this superclass for all database backed
model objects now.
This commit is contained in:
Matt Rogers 2018-11-03 15:57:14 -05:00
parent 35e6384b95
commit 0e21d64890
No known key found for this signature in database
GPG key ID: 605D017C07EB4316
12 changed files with 14 additions and 11 deletions

View file

@ -1,7 +1,7 @@
# The Tagging join model.
class Tagging < ActiveRecord::Base
class Tagging < ApplicationRecord
belongs_to :tag
belongs_to :taggable, :polymorphic => true, :touch => true