add dates to signup
This commit is contained in:
@ -20,6 +20,7 @@ class Member < ApplicationRecord
|
||||
|
||||
validates :bio, length: { maximum: 1000 }
|
||||
validates :name , length: { minimum: 3 }
|
||||
validates_presence_of :arriving , :leaving
|
||||
|
||||
def admin
|
||||
self.email == "torsten@villataika.fi"
|
||||
|
Reference in New Issue
Block a user