Forum: Ruby on Rails RE: Re: Re: Re: RE: Object constructors - Noob Question

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Ross D. (Guest)
on 2006-05-15 10:11
(Received via mailing list)
> @foo is instantiated from the session, by @foo =
> session[:foo] but this
> _doesn't_ cause the error.  In fact I can use @foo in views and other
> ways and no error occurs.
> I really have no idea what's going on with this.

Try using breakpoint to inspect @foo

can tell you lots.

As a general "why doesn't my blah work" response have a look at your
code running using breakpoint.  I'm guessing from the noise on the list
that breakpoint would be the most underutilized tool in Rails.

This topic is locked and can not be replied to.