module Notable::ValidationErrors

Public Instance Methods

track_validation_errors() click to toggle source
# File lib/notable/validation_errors.rb, line 9
def track_validation_errors
  if errors.any?
    Notable.track "Validation Errors", "#{self.class.name}: #{errors.full_messages.join(", ")}"
  end
end