mongoid custom setter fix