alexpeachey/dritter — comment on commit b55a1d5d9d59ae339ca5d9951974a72b45488561
File:  line 0
By alexpeachey:

Oh thanks! That would make things more readable. Very cool. I gave the
presentation last night. I think a number of people are going to give
Draper a try.

Great stuff Jeff.

Alex

On Thu, Jan 12, 2012 at 3:52 AM, Jeff Casimir <
reply@reply.github.com
> wrote:

> When you're inside a decorator, as long as it has `decorates :user`, then
> you can use the `user` method to access the wrapped model. It's an alias
> for `model`, but it tends to be much easier to read/write.
>
> In specific decorators, I'll use the alias. I only use `model` when
> writing more abstract, shared code in the `ApplicationDecorator`.
>
> ---
> Reply to this email directly or view it on GitHub:
>
> https://github.com/alexpeachey/dritter/commit/b55a1d5d9d59ae339ca5d9951974a72b45488561#commitcomment-860564
>