From: Gregory Brown Date: 2007-06-29T01:58:33+09:00 Subject: Re: ActiveRecord (not necessarily rails) On 6/27/07, dblack@wobblini.net wrote: > Hi -- > > On Thu, 28 Jun 2007, Giles Bowkett wrote: > > Foo.class_eval("has_many :bars") > > I think you could just do: > > Foo.has_many :bars And even if you couldn't, Foo.send(:has_many,:bars) or Foo.class_eval { has_many :bars } would be a whole lot safer. Giles, are you just using eval(string) for the fun of it now? :)