]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/user_role.rb
Create an ApplicationRecord for models to inherit from
[rails.git] / app / models / user_role.rb
index f3d48cade4bcfeb53df717b509cc0ab90ac45d39..a081361a76cb6db41fe03737c313db6fc08ddc45 100644 (file)
@@ -19,7 +19,7 @@
 #  user_roles_user_id_fkey     (user_id => users.id)
 #
 
-class UserRole < ActiveRecord::Base
+class UserRole < ApplicationRecord
   belongs_to :user
   belongs_to :granter, :class_name => "User"