small fix

This commit is contained in:
Harry Bomrah 2017-05-24 17:14:19 +08:00
parent f91e703dab
commit bfd36b559b
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class HpsMember
has_secure_password has_secure_password
validates :account, uniqueness: true validates :account, uniqueness: true
validates :password, :on => [:create] # validates :password, :on => [:create]
has_many :hps_files, :dependent => :destroy has_many :hps_files, :dependent => :destroy