Namespaced Controller and Model Access

Hi everyone,

I'm building a CMS-y app, and wanted to namespace my admin controllers, ex. "admin/pages/new". However, it appears that I can't get to my models, which are just in the general /app/models directory. Whenever I try to call a model, I get an Uninitialized Constant error... I've seen Radiant CMS do this, apparently without any issues... Ideas?

Alright, so I fixed my problem, and wanted to post it here for anyone else that might be having the same issue. Basically, I just prefixed my model classes with two colons, like so:

@node = ::Node.new

This forces the namespaced controller to look for the model in the standard model directory.