mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 01:11:43 +02:00
rubocop updates
This commit is contained in:
parent
f89992d120
commit
736848d70c
3 changed files with 7 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
# 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?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue