mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 08:22:05 +02:00
parent
435e1d5d64
commit
1fdd3482f0
2 changed files with 7 additions and 0 deletions
|
@ -2,6 +2,7 @@ module Concerns::Contact::Transferable
|
|||
extend ActiveSupport::Concern
|
||||
|
||||
included do
|
||||
validates :auth_info, presence: true
|
||||
after_initialize :generate_auth_info, if: :new_record?
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue