From 19f1fc7b69e695a0184caa7b624caa04bba360fd Mon Sep 17 00:00:00 2001 From: Jeff Casimir Date: Wed, 19 Oct 2011 23:11:48 -0400 Subject: [PATCH] Updated README with changelog --- Readme.markdown | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Readme.markdown b/Readme.markdown index bfad4cd..c76335d 100644 --- a/Readme.markdown +++ b/Readme.markdown @@ -20,6 +20,16 @@ 6. Output the instance methods in your view templates ex: `@article_decorator.created_at` +## What's New + +### Version 0.9.0 + +* Removed the `lazy_helpers` method to favor using `include Draper::LazyHelpers` +* Refactored how methods are selected for delegation to the wrapped model +* Fixed how the view context is stored in the `Thread.current` to resolve cross-request issues +* Decorated collections now return a collection proxy instead of an array, which fixes many compatibility issues +* Automatically generate `RSpec` stub for decorators [PENDING: Make this work properly for `Test::Unit` -- help?] + ## Goals This gem makes it easy to apply the decorator pattern to domain models in a Rails application. This pattern gives you three wins: