rails-api/active_model_serializers — pull request #174 by jlecour (2012-12-20 16:11:16+00:00)
Title: Howto use AMS with non-ActiveRecord models

I've added a line in the `README` to explain how to use AMS with non-ActiveRecord models/classes.

I was working with an `ActiveModel::Model` class for which I had to define the `active_model_serializer` method even if the default naming was right.

I've had to look into the source code (in the tests) to find out that it was not a bug, and I just needed to include the `ActiveModel::SerializerSupport` module.

I hope it will make things more clear for other people.