README.md in active_model_serializers-0.9.6 vs README.md in active_model_serializers-0.9.7

- old
+ new

@@ -249,15 +249,15 @@ ## Changing the default association key type You can specify that serializers use unsuffixed names as association keys by default. -`````ruby +```ruby ActiveModel::Serializer.setup do |config| config.default_key_type = :name end -```` +``` This will build association keys like `comments` or `author` instead of `comment_ids` or `author_id`. ## Getting the old version @@ -930,10 +930,10 @@ ```ruby class PostSerializer < ApplicationSerializer attributes :id end -```` +``` # Design and Implementation Guidelines ## Keep it Simple