0

@user = 当前用户

使用渲染 json:@user 时,它显示

{"user":{"authentication_token":"xxxxxxxxxxxxxxxxx","email":"sample@example.com"}} 

但我想要

{"user":{"authentication_token":"xxxxxxxxxxxxxxxxx","email":"sample@example.com","country":"india"}}

我怎样才能做到这一点?

4

0 回答 0