[LRUG] Setting default roles in a user record
Pratik Naik
pratik at thinkwares.com
Tue Aug 7 01:44:07 PDT 2007
Or may be you can derive bits and pieces from my patch at
http://dev.rubyonrails.org/ticket/9093
On 8/7/07, Andrew Stewart <boss at airbladesoftware.com> wrote:
>
> On 7 Aug 2007, at 09:02, John Winters wrote:
> > The best solution I've thought of so far is to add a set_defaults
> > method
> > to the model and invoke that at the appropriate point in the
> > controller,
> > but is that the right way to do it?
>
> Check this out:
>
> http://drawohara.tumblr.com/post/6677354
>
> Regards,
> Andy Stewart
>
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
More information about the Chat
mailing list