X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a3a95616d94a7b3f3bd20e2828c3b1412f80bff5..a41d500b9f65ec9f4e848effd38dc1ae117e7594:/app/models/user_token.rb?ds=sidebyside diff --git a/app/models/user_token.rb b/app/models/user_token.rb index 844357d8d..8c9bf4aeb 100644 --- a/app/models/user_token.rb +++ b/app/models/user_token.rb @@ -18,7 +18,7 @@ # user_tokens_user_id_fkey (user_id => users.id) # -class UserToken < ActiveRecord::Base +class UserToken < ApplicationRecord belongs_to :user after_initialize :set_defaults