Fixing README at 0.9.0 and removing reference to attribute method #657

This commit is contained in:
Joao Moura 2014-10-23 18:22:21 -02:00
parent 89f87bf855
commit 6fb6162622

View File

@ -304,7 +304,7 @@ Since this shadows any attribute named `object`, you can include them through `o
```ruby
class VersionSerializer < ActiveModel::Serializer
attribute :version_object, key: :object
attributes :version_object
def version_object
object.object