fixes #4064: Artist new page giving false rejection messages
This commit is contained in:
@@ -329,7 +329,9 @@ class Artist < ApplicationRecord
|
||||
artist = Artist.new(params)
|
||||
end
|
||||
|
||||
artist.tap(&:validate) # run before_validation callbacks to normalize the names
|
||||
artist.normalize_name
|
||||
artist.normalize_other_names
|
||||
artist
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user