You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.
NoMethodError in UsersController#create
undefined method `name' for #User:0x23b5400
This is caused by validations in user.rb for :name since the name field is not part of the initial migration.
validates_format_of :name, :with => Authentication.name_regex, :message => Authentication.bad_name_message, :allow_nil => true
validates_length_of :name, :maximum => 100
Removing these lines fixes the issue.
The text was updated successfully, but these errors were encountered: