This thing I always forgot...

作者:   發佈於: ,更新於:

Just a memo. In my Jifty App::Model::User code.. I almost always need this:

sub _brief_description { 'name' }
sub current_user_can { self->current_user->id == self->id }