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.


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

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

Thank you

Never mind. It was pilot error.