RestPack/restpack-serializer — pull request #12 by GavinJoyce (2013-05-06 08:24:34+00:00)
Title: Add support for Serializer.can_include(:model)

As per https://github.com/RestPack/restpack-serializer/issues/4, this allows a whitelist of valid includes to be defined in a Serializer:

```ruby
class AlbumSerializer
include RestPack::Serializer
attributes :id, :title, :year, :artist_id

can_include :artist, :songs
end
```