rails/rails — pull request #13267 by huacnlee (2013-12-11 11:04:33+00:00)
Title: ActiveRecord::Enum, model.status_was return a String value, not integer

```
class Conversation < ActiveRecord::Base
enum status: { active: 0, archived: 1 }
end
```

Before:

```
conversation.status = :active
conversation.status = :archived
conversation.status_was # => 0
```

After:

```
conversation.status_was # => "active"
```