intridea/grape — Issue #76: Entity with a collection
Author: amrnt
Created: 2011-11-21 01:28:03+00:00
State: open

when i go to `/users` I get this error `undefined method `full_name' for #` full_name or what ever fields.

```ruby
get "users" do
@users = User.all
present @users, :with => Entities::UserEntity
end
```

```ruby
module Entities
class UserEntity < Grape::Entity
expose :full_name, email
end
end
```