From: "David A. Black" Date: 2008-10-03T18:50:45+09:00 Subject: Re: Problem extending (adding methods) to class Hi -- On Fri, 3 Oct 2008, Nit Khair wrote: > David A. Black wrote: >> OK, I think what's happening here is that the FORM class is overriding >> new, in such a way that it does not call initialize. So overriding >> initialize doesn't do anything. >> >> I don't have a solution worked out but I believe that's the issue. > > Sorry if this sounds silly, i forgot to mention that i *had* attached > the source in my prev mail (f3.rb). Did you run it? Yes; that's how I figured out that initialize wasn't being called. David -- Rails training from David A. Black and Ruby Power and Light: Intro to Ruby on Rails January 12-15 Fort Lauderdale, FL Advancing with Rails January 19-22 Fort Lauderdale, FL * * Co-taught with Patrick Ewing! See http://www.rubypal.com for details and updates!