CHANGES.markdown in roar-rails-0.1.0 vs CHANGES.markdown in roar-rails-0.1.1

- old
+ new

@@ -1,4 +1,8 @@ +h2. 0.1.1 + +* Added the `represented_formats: [...]` option to be passed to `#respond_with` for either suppressing roar-rails from extending/decorating models when rendering or to fine-tune so this will only happen on white-listed formats as `:hal`. This can also be set globally using `config.representer.represented_formats`. + h2. 0.1.0 * `ActiveRecord::Relation` is now detected as a collection and the appropriate representer should be found. * Entity (singular) representers are now correctly infered even if you only specified `collection:` in `::represents`. That works by querying the model. * Entity representers are now *namespaced* when guessed (i.e., when you didn't specify them explicitly in `::represents`) as it works with collection representers already. If you have a namespaced controller and it suddenly doesn't find its entity representer anymore, either namespace the representer or specify its name in `::represents`.