Differences between console [development] and console test?

One of my model code methods is throwing an error when run using script/console in test but not in development.

I'd be grateful if someone can tell me the differences between the two, beyond the database that they connect to.

Thanks.

I think all the differences are the differences between the settings in test.rb and development.rb in config/environment/ plus those in database.yml.

A stack trace for the error will help out quite a bit. The most notable difference between the two environments is that the test environment has cache_classes = true, which triggers preloading of the application classes on startup. But again, without a stack trace, it's hard to tell.

--Matt Jones