From: "ara.t.howard" <ara.t.how...@gmail.com>
Date: Tue, 24 Jul 2007 15:03:04 -0600
Local: Tues, Jul 24 2007 5:03 pm
Subject: Re: [Rails-core] Re: after_initialize/after_find misfeature
On Jul 24, 2007, at 2:50 PM, Michael Koziarski wrote: > On 7/23/07, Michael Koziarski <mich...@koziarski.com> wrote: >> Without cases which > Sorry for replying to myself, but the wireless here is a little too > Providing a method to allow static defaults such as: > set_default_values :foo=>'bar' > Is just reimplementing the pre-existing defaults code that we extract > For dynamic defaults, such as 'the default value for the categories on > Requiring users to call super first is perfectly acceptable to me. To > Of course, there may well be particular cases where it's genuinely > Every feature that we add, becomes something we need to support on an make after_initialize actually called then. leaving open the door for before_initialize and remaining backward compatible. > -- a @ http://drawohara.com/ > Cheers > Koz -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||