[Rails] Re: strange class_eval behavior

2010-02-26 Thread Paul PH
Frederick Cheung wrote: > On Feb 25, 6:28�pm, Paul PH wrote: >> hi again, all. >> I have the following plugin included in my active record model. >> What i'd like to do, is define a method inside class_eval which returns >> the options has that was passed into it via the acts_as_item :foo=>:bar >>

[Rails] Re: strange class_eval behavior

2010-02-25 Thread Frederick Cheung
On Feb 25, 6:28 pm, Paul PH wrote: > hi again, all. > I have the following plugin included in my active record model. > What i'd like to do, is define a method inside class_eval which returns > the options has that was passed into it via the acts_as_item :foo=>:bar > in my model. > > What i'm fi