I get following error on accessing ActiveRecord from the controller,
log\development.log
NameError (uninitialized constant ProductsController::Question):
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/
active_support/dependencies.rb:478:in const_missing' /app/controllers/products_controller.rb:14:in
build’
ProductsController.rb
def build
@qs = Question.find(:all)
end
I could not find much information relevant to my scenario on
NameError, Please let me know, if someone have any idea on whats going
on.
Your help be greatly appreciated.