Differences in execution between console and app

On 10/7/07, Daniel W. [email protected] wrote:

You said it was the line with the yield which is raising the

Try starting a new project and just build up a little bit. I did a
new project that used that column name and type, and no error. So I
thought maybe it was a problem with the association, but that still
worked fine. Basically I’d put in the absolutely simplest stuff, and
build up to the same structure that you currently have, and see where
it breaks along the way.

Pat

Rick Denatale wrote:

So what line in what file is actually suffering the method missing?
Seems to be time to take advantage of the fact that ActiveRecord and
the rest of Rails is open source.

Aye, that it does.

Pat M. wrote:

Try starting a new project and just build up a little bit.
Basically I’d put in the absolutely simplest stuff, and
build up to the same structure that you currently have, and
see where it breaks along the way.

I’ll do that before diving into ActiveRecord, though I fear that’s where
this may lead.

Thanks everyone for all your help; I appreciate it!

On 10/7/07, Daniel W. [email protected] wrote:

Basically I’d put in the absolutely simplest stuff, and
build up to the same structure that you currently have, and
see where it breaks along the way.

I’ll do that before diving into ActiveRecord, though I fear that’s where
this may lead.

I find that looking at the source is usually the quickest way to
figure these kind of things out.

The same debugging techniques that you use for your own code work for
library code.

Plus there’s the benefit that you often learn useful things in looking
at the code.


Rick DeNatale

My blog on Ruby
http://talklikeaduck.denhaven2.com/