mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 09:21:43 +02:00
rubocop update, now it's green
This commit is contained in:
parent
2d6ed7fa45
commit
8d189023c7
29 changed files with 190 additions and 54 deletions
|
@ -13,7 +13,7 @@ class Contact < ActiveRecord::Base
|
|||
has_many :domain_contacts
|
||||
has_many :domains, through: :domain_contacts
|
||||
|
||||
# TODO remove the x_by
|
||||
# TODO: remove the x_by
|
||||
belongs_to :created_by, class_name: 'EppUser', foreign_key: :created_by_id
|
||||
belongs_to :updated_by, class_name: 'EppUser', foreign_key: :updated_by_id
|
||||
belongs_to :registrar
|
||||
|
@ -160,6 +160,4 @@ class Contact < ActiveRecord::Base
|
|||
res.reduce([]) { |o, v| o << { id: v[:id], display_key: "#{v.name} (#{v.code})" } }
|
||||
end
|
||||
end
|
||||
|
||||
private
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue