If I want to have validation only on create, then I can do
validates_presence_of :password, :on => :create
but how do I say on create and update? I tried this but didn't work.
validates_presence_of :password, :on => [ :create, :update ]
Do I have to define the validation two times?