From: ptkwt@... (Phil Tomson) Date: 2006-01-05T05:47:58+09:00 Subject: Re: Repost: singleton methods vs. class instance vars In article <1136406073.177747.137450@g43g2000cwa.googlegroups.com>, ako... wrote: >hello, > >apparently ruby as most other languages has more than one way to >express the same thing. i myself see no advantage of the code in active >record that you posted and your code. except for the active record code >is faster than yours because it does not check any variables at all >when evaluating the table_name method. > I'm not so sure it's faster; it uses a class_eval. Phil