mfoxtrot/blogtastic — Issue #1: Password Salt Not Stored in Database
Author: mfoxtrot
Created: 2012-02-24 01:29:45+00:00
State: open

It would seem that for some reason password salts for new accounts are not being stored in the database. From the console, I can run (result lines offset by me):

```ruby
>> awesomeuser = User.new
=> #
>> awesomeuser.password = "test"
=> "test"
>> awesomeuser.valid_password?("test")
=> true
```

However, if I save this user to the database and then check again, I get an invalid password. It would seem that the password_salt value is never getting saved to the model for some reason, but I'm not quite sure why as it is declared as a key in the model.