nofxx/symbolize — Issue #26: Doesn't work with default value (Mongoid)
Author: jerryshen
Created: 2012-02-25 16:46:55+00:00
State: open

hey, I have a problem with mongoid default value. here is my model

```ruby
class User
include Mongoid::Document
include Mongoid::Timestamps
include Mongoid::Symbolize

field :type_identifier, type: String, default: 'general'

symbolize :type_identifier, in: [:svip, :vip], scopes: true
end
```

the default value for type_identifier is nil, wierd. when I remove the symbolize configuration code, it default value comes back.

Any ideas?