Script/console weirdness

I’m running Rails 2.3.11 with Ruby ruby-1.9.1-p378. In my controllers,
I send json all the time and I thought I was familiar with how it works.
But if I get into script/console to do some experimenting before writing
some code, the to_json (or as_json – either one) does not grok the
:include options.

e.g.

Cached::Call.find(163).to_json(:include => :pmr)

does not include the pmr association. Any ideas what might be going on
here?

Thank you
pedz

Never mind. It was pilot error.