Sjoerd,

Thanks much for the clarification.  Indeed this works well.  Appreciate the help!

Cheers,
Phy



--- On Sun, 10/19/08, Sjoerd Andringa <andringa / quicknet.nl> wrote:

> From: Sjoerd Andringa <andringa / quicknet.nl>
> Subject: Re: Using a result as a constant object?
> To: "ruby-talk ML" <ruby-talk / ruby-lang.org>
> Date: Sunday, October 19, 2008, 6:08 AM
> Sjoerd Andringa wrote:
> > Sjoerd Andringa wrote:
> >> ar.model.find(120)
> > Should be: ar_model.find(120)
> 
> Be aware that 'constantize' is a method added by
> ActiveSupport, no 
> problem if you're using Rails, but you need to require
> it manually 
> otherwise.
> -- 
> Posted via http://www.ruby-forum.com/.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com