app/models/user.rb in wheels-0.0.45 vs app/models/user.rb in wheels-0.0.46

- old
+ new

@@ -49,9 +49,12 @@ devise :database_authenticatable, :recoverable, :rememberable, :trackable, :validatable, :token_authenticatable, :lockable, :timeoutable end class FullyValidatedUser < User + def class + User + end attr_accessor :old_password validates :email, :presence => true, :email => true validates :old_password, :presence=>true , :password=>true validates :password, :presence=>true , :length=>{:minimum=>6} validates :password_confirmation, :equal_to=>{:other=>:password}