mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 00:42:04 +02:00
fixed codeclimate errors
This commit is contained in:
parent
f4e0084895
commit
e7e3278267
44 changed files with 118 additions and 150 deletions
|
@ -8,7 +8,7 @@ class User < ApplicationRecord
|
|||
self.ignored_columns = %w[legacy_id]
|
||||
|
||||
def id_role_username
|
||||
"#{self.id}-#{self.class}: #{self.username}"
|
||||
"#{id}-#{self.class}: #{username}"
|
||||
end
|
||||
|
||||
def self.from_omniauth(omniauth_hash)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue