Change contacts.name database column to NOT NULL

This commit is contained in:
Artur Beljajev 2018-08-01 16:04:32 +03:00
parent b4be9e7f00
commit 22c6fd61e3
5 changed files with 14 additions and 8 deletions

View file

@ -288,7 +288,7 @@ class Contact < ApplicationRecord
end
def to_s
name || '[no name]'
name
end
def validate_html