From: Robert Klemme Date: 2012-07-12T18:36:29+09:00 Subject: Re: undefined local variable On Thu, Jul 12, 2012 at 11:14 AM, Hans Mackowiak wrote: > i should first learn how ruby works before you use rails > > you never defined your "ie1" variable in your code! Also the sequence @ie=ie @ie=Watir::IE.attach(:title, @title) in class Title is dysfunctional: Argument ie is completely superfluous and can be removed since it is only written to @ie and @ie is overwritten immediately afterwards. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/