mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 03:06:14 +02:00
parent
cee51e1ac5
commit
18449b7ef3
1 changed files with 0 additions and 8 deletions
|
@ -1,8 +0,0 @@
|
|||
# Log all user issues raised by active record
|
||||
# rubocop: disable Metrics/LineLength
|
||||
class ActiveRecord::Base
|
||||
after_validation do |m|
|
||||
Rails.logger.info "USER MSG: ACTIVERECORD: #{m.class} ##{m.id} #{m.errors.full_messages} #{m.errors['epp_errors']}" if m.errors.present?
|
||||
true
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue