Fix views & email_verifable inclusion

This commit is contained in:
Alex Sherman 2021-07-02 14:22:31 +05:00
parent 5f0c031410
commit 90f862aa8f
15 changed files with 50 additions and 124 deletions

View file

@ -24,6 +24,9 @@ module Actions
def save_result(result)
validation_eventable.validation_events.create(validation_event_attrs(result))
rescue ActiveRecord::RecordNotSaved
logger.info "Cannot save validation result for #{log_object_id}"
true
end
def validation_event_attrs(result)