RE: Re: Re: Re: RE: Object constructors - Noob Question

@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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs