mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 18:56:05 +02:00
parent
857b35417a
commit
f0a7edd6d8
14 changed files with 18 additions and 24 deletions
|
@ -5,6 +5,8 @@ class User < ApplicationRecord
|
|||
|
||||
attr_accessor :phone
|
||||
|
||||
self.ignored_columns = %w[legacy_id]
|
||||
|
||||
def id_role_username
|
||||
"#{self.id}-#{self.class}: #{self.username}"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue