0
0
Fork 0

Extract scenic view model common methods to concern (#28111)

This commit is contained in:
Matt Jankowski 2024-02-06 04:08:07 -05:00 committed by GitHub
parent 1666b19559
commit 86500e3312
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 34 additions and 33 deletions

View file

@ -10,11 +10,9 @@
#
class UserIp < ApplicationRecord
include DatabaseViewRecord
self.primary_key = :user_id
belongs_to :user
def readonly?
true
end
end