Forum: Ruby on Rails accessing controllers in script/console

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
gabriele renzi (Guest)
on 2006-01-24 01:21
(Received via mailing list)
Hi list,

I was wondering: is there a simple way to load/create controllers from
within the rails' console?
It seem that they are not loaded by default, and I can't just do
something like
  require 'app/controllers/foo'
since the controller would be missing all of the mixed-in Helpers
Is there some easy thing I can do to autoload all the

Thanks in advance.
This topic is locked and can not be replied to.