Revert "Registry 569"

This commit is contained in:
Timo Võhmar 2017-10-05 16:08:47 +03:00 committed by GitHub
parent 9565f23e68
commit 4786dbb943
50 changed files with 323 additions and 2463 deletions

View file

@ -0,0 +1,8 @@
# 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