たとえばコントローラで
def index
@as = A.find(:all)
@bs = B.find(:all)
end
って入れて、ビューで展開しようとしたら、

uninitialized constant hogehogeController::B

って出るんです。なにがいけないのでしょうか。。