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:
Andy Allan 2019-11-27 11:50:48 +01:00
parent a3a95616d9
commit a41d500b9f
45 changed files with 46 additions and 46 deletions

View file

@ -17,7 +17,7 @@
# current_relations_changeset_id_fkey (changeset_id => changesets.id)
#
class Relation < ActiveRecord::Base
class Relation < ApplicationRecord
require "xml/libxml"
include ConsistencyValidations