• Cyril's avatar
    Validates presence of User#name · 63d9373a
    Cyril authored
    The 2 reasons are :
    - creation of user fail if name is empty : in after_save, it tries to create a
    namespace with namespace.name = user.name and namespece validates presence
    Namespace#name
    - in the web app links to team members are broken with empty User#name because
    they are of the form <a href'...'> user.name </a>
    63d9373a
user.rb 5.2 KB