jnicklas/carrierwave — Issue #640: to_json does not include full path
Author: escobera
Created: 2012-03-01 22:50:05+00:00
State: open

I have [this uploader](https://gist.github.com/1953740), called in [this model](https://gist.github.com/1953744).

When I do a @member.to_json The return is like:

```javascript
{
"_id":"4f4ff9247852cc0b3a000002",
"artist_id":"4f4ff5327852cc0a4a000002",
"avatar":"avatar.jpg",
"created_at":"2012-03-01T22:33:08Z",
"instrument":"asdasd",
"name":"asdas",
"period":null,
"updated_at":"2012-03-01T22:33:08Z"
}
```

I'd like to get the full path for the file on this json, is this possible?
Also I'm using mongoid, but I guess this is the normal behavior.